molsonkiko / JsonToolsNppPlugin

A Notepad++ plugin providing tools for JSON like linting, querying, a tree view, and CSV conversion.
Apache License 2.0
70 stars 9 forks source link

Bug in format of floating point numbers on system with comma as decimal separator #49

Closed StefanB1234 closed 8 months ago

StefanB1234 commented 8 months ago

On a German system, the floatingpoint number format changes the value of the number in pretty print.

Original Json file:

{"A":[4.76343,4.87822,4.98112312,3.9567656700000002]}

Pretty print:

image

Might be an issue with the standard decimal separator on my system. (,).

Expected Behaviour:

Values of numbers shouldn't be changed by pretty print.

StefanB1234 commented 8 months ago

Nevermind, old Version