> Use doubleValue() and then cast to int. All JavaScript numbers (and
> therefore all JSONNumbers) are really doubles.

This worked like a charm.  Thank you.

Silly question, where is doubleValue() defined?  I am not seeing it in
the JSON or Double docs.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to