[Xml-compile] $_[0] + 0.0 for sloppy floats

hmepas hmepas at gmail.com
Sun Dec 7 12:36:12 GMT 2014


Thanks a lot!

On Sun, Dec 7, 2014 at 2:57 PM, Mark Overmeer <mark at overmeer.net> wrote:

> * hmepas (hmepas at gmail.com) [141207 08:58]:
> > Then if we converting to json structure which came out after XML::Compile
> > deserialization, floats and decimals will be like "3.14".
>
> I did not know that the JSON module peeks into the SV.  It's a good
> reason (I also sometimes convert XML into JSON directly)
>
> The patch is accepted for next release.
> --
> Thanks!
>
>                MarkOv
>
> ------------------------------------------------------------------------
>        Mark Overmeer MSc                                MARKOV Solutions
>        Mark at Overmeer.net                          solutions at overmeer.net
> http://Mark.Overmeer.net                   http://solutions.overmeer.net
>
>


-- 
Pavel S. Khmelinsky <hmepas at gmail.com>
Jabber: hmepas at gmail.com
Skype: hmepas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scsys.co.uk/pipermail/xml-compile/attachments/20141207/24038ead/attachment.htm>


More information about the Xml-compile mailing list