Floats im GWT


Ich behebe gerade in unserer GWT-Applikation die letzten Bugs und muss feststellen, dass in der kompilierten Fassung alle float-Values falsch dargestellt werden.

So ergibt Java-Server-seitig die Zahl 0.3f auf dem Client 0.30000000…

Ich bin nicht der einzige, dem das aufgefallen ist: http://code.google.com/p/google-web-toolkit/issues/detail?id=2897 *grummel*

  1. Bisher keine Kommentare.
(wird nicht veröffentlicht)

*
To prove you're a person (not a spam script), type the answer to the math equation shown in the picture. Click on the picture to hear an audio file of the equation.
Click to hear an audio file of the anti-spam equation


  1. Bisher keine Trackbacks.