[Glass] '-1' asInteger -> 1

Richard Sargent via Glass glass at lists.gemtalksystems.com
Wed Mar 8 07:25:31 PST 2017


If you think that's bad, try:

'abc123' asNumber

or:

'abc123def456' asNumber



On Mar 8, 2017, 01:51, at 01:51, Marten Feldtmann via Glass <glass at lists.gemtalksystems.com> wrote:
>'-1' asNumber asInteger -> -1
>
>'-1' asInteger -> 1
>
>
>Marten
>
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Glass mailing list
>Glass at lists.gemtalksystems.com
>http://lists.gemtalksystems.com/mailman/listinfo/glass
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20170308/87000263/attachment.html>


More information about the Glass mailing list