MN schrieb: > new Double("1.0").toString() => "1.0" <--- > new Double("1.1").toString() => "1.1" > > > in all other browsers i get this: > > new Double("1.0").toString() => "1" > new Double("1.1").toString() => "1.1" > > > how i can convert the double value to string that i get in GWTShell > also the "1" value instead of "1.0"?
NumberFormat nf = NumberFormat.getDecimalFormat(); nf.format(1.0); Regards, Lothar --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---