[fpc-pascal] Formatting of JSON float values
mailinglists at geldenhuys.co.uk
Wed Dec 2 19:24:06 CET 2015
On 2015-12-02 18:17, Michael Van Canneyt wrote:
> No, currently not. The value is formatted in TFloatNumber.GetAsString.
Second question. What happens to floating points with different locales
and decimal separators? eg: USA and UK uses a dot (.) as decimal
separator, but [odd] countries like South Africa use a comma (,) - would
this affect FPC's JSON read/write?
Or does the JSON specification define the decimal separator to always be
- Graeme -
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
My public PGP key: http://tinyurl.com/graeme-pgp
More information about the fpc-pascal