Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Floating point issues

    Hi!

    When I have a FloatItem and access it's value with floatItem.getValue() for example with the value 0.2 the value is correct on the client side. But when i do a server call with casting this value to Double i receive 0.20000000298023224

    But when i send the value of the field with a call to floatItem.getAttributeAsDouble("value") i receive the correct value of 0.2. Is this bug?

    Btw. i am using Safari 5.0.3
Working...
X