Fix number format docs

Docs example has switched `.` and `,` as pointed out in #1071.

If I would run that example I would get:

    "&amp;#165;123,123,123.18 (YEN)"

And in the example it states 

    // returns "&#165;123.123.123,18 (YEN)"

fixes #1071