Problem w/numericFormat

What gives? Having a problem with correctly formatting a number using numericFormat.

Inputs:

num: 000000614264896
pattern: #,###,###,###,###.##

Would expect output to be 6,142,648.96 but I get 614,264,896

webM 6.5, Windows environment

numericFormat doesn’t address implied decimals. Nor does Java’s DecimalFormat. You’ll need to insert the decimal point yourself before calling numericFormat or you can use other techniques to get what you need.

Side note: avoid using the pub.math services that have float or double in the name as they can introduce accuracy errors due to binary arithmetic (a global issue, not an IS or Java issue per se).

Thanks for the feedback - much appreciated.