Workaround for bug in XMLVM that causes new Double(0.0).isInfinite() to return true.
https://groups.google.com/d/msgid/codenameone-discussions/3f78c515-a518-4de4-abd3-52e15b96a668%40googlegroups.com