[Lazarus] JSON float saving scientific value
silvioprog
silvioprog at gmail.com
Fri Nov 4 10:32:35 CET 2011
2011/11/4 tcoq <tcoq at free.fr>:
> Hello silvio,
> 1.500000000E+000 is exactly 1.5, from a numerical point of view. It seems that you are getting what you need: storing a real.
> Why would you want to have the "1.5" string? What is the issue?
> Thierry
For transporting data to a database from a mobile, via WAP. I think
I'll use string "1.5", because using scientific notation can grow my
final JSON file.
Thanks! :)
--
Silvio Clécio
===============================================
Blog - <silvioprog.com.br>
Twitter - <twitter.com/silvioprog>
Facebook - <facebook.com/silvioprog>
LazSolutions - <code.google.com/p/lazsolutions>
Lazarus-BR - <groups.google.com.br/group/lazarus-br?hl=pt-BR>
===============================================
* Conheça nosso canal IRC sobre Lazarus: #lazarus-br *
===============================================
More information about the Lazarus
mailing list