Disable the scientif format for big number inside variable (ex: 1,1222222 E6)
I have defined a variable V_SUM which get the incremental sum of the fiel FIELD:
<?xdoxslt:set_variable($_XDOCTX, ‘V_SUM’, number(FIELD)+number(xdoxslt:get_variable($_XDOCTX, ‘V_SUM’)))?>
When I display the content of my variable, values below 1 000 000 are OK, but values greater than 1 000 000 are displayed in scientific format (ex: 1,1222222 E6)
I tried forcing the format with the below code, but I still get the scientific format.
<?format-number:xdoxslt:get_variable($_XDOCTX, 'V_SUM);'999G999'?> or <?format-number:xdoxslt:get_variable($_XDOCTX, 'V_SUM);'999G999G999'?>
Does anyone have an idea about how to get always the full number instead of scientific format?