The test case is described in my previous post

Create a Result object from a webService (or other source) call returning 
al long value and and try to convert a large value i.e. 
'636384734479955370' as with the Result.getAsLong method 
You'll get as long value 636384734479955328 instead of 636384734479955370, 
due to the rounding from double conversion.
Simply using  Long.parseLong() returns the correct value.
Regards 

Nicola

Il giorno venerdì 18 agosto 2017 06:54:47 UTC+2, Shai Almog ha scritto:
>
> We'll need a test case for that. The processing package hasn't changed in 
> ages so the cause of the regression is a subtle behavioral change 
> "somewhere". 
> File an issue with a test case and we'll try to track it down.
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/fe25b185-19bf-4fb5-87cd-4bcbdd00ad2b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to