'*E' |
Force E+ Convert String with Scientific Notation |
If enabled, this parameter forces PxPlus to mandate that, when converting a string that may contain a numeric value in scientific notation (e.g. 1.2E+10), there must be a + (plus) sign following the E.
Setting this parameter can resolve issues that could occur using the NUM function against a string that may happen to look like a scientific notation (e.g. 1E10).
(The '*E' system parameter was added in PxPlus 2023.)
Off - PxPlus will accept numbers in scientific notation with or without a sign. If the sign is not present, PxPlus will assume a positive exponent.
->x$="1E10"
->y$="1E+10"
->print num(x$)
10000000000
->print num(y$)
10000000000
->set_param '*e'
->print num(x$)
Error #26: Variable type invalid
->print num(y$)
10000000000