It's possible the exception is thrown correctly for Integer. Floating point
parsing is much harder.
--
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 c
I agree that using exceptions for normal flow isn't ideal but none of the
regex I tried worked with the Codename One regex class properly. I've tried
again and found a simple Regex did the job for my simplified use case. The
number is generated by a count of user actions so is always an integer
It depends on your actual application, but I would recommend writing your
own
filter to pass only tokens that are acceptable to you. You shouldn't
depend on
the arbitrary definition of "number". Would "Infinity" be acceptable?
parseDouble
thinks so.
--
You received this message because you a
That's probably something we need to fix (I suggest filing an issue) but I
would suggest using a regular expression for this as relying on an
exception for normal flow is problematic.
--
You received this message because you are subscribed to the Google Groups
"CodenameOne Discussions" group.