having a small double for example leads to exponential notation
Double.toString(0.00000000001) (java.lang.String) 1.0E-11
This is an issue for XSL that cannot parse this as a number ; and thus using it in a sum