dear group!
<script language="javas cript">
var a = 60381.11;
var b = 1437261.58;
var c = a + b;
alert (c); -> 1497642.6900000 002
var a = 60381.11;
var b = 1437261.50;
var c = a + b;
alert (c); -> 1497642.61
</script>
can anybody help me with this? Obviously some kind of precision
problem, but those numbers are not big at all. Any ideas where to find
documentation of internal data representation in js? Any hint is
welcome.
Benedikt
<script language="javas cript">
var a = 60381.11;
var b = 1437261.58;
var c = a + b;
alert (c); -> 1497642.6900000 002
var a = 60381.11;
var b = 1437261.50;
var c = a + b;
alert (c); -> 1497642.61
</script>
can anybody help me with this? Obviously some kind of precision
problem, but those numbers are not big at all. Any ideas where to find
documentation of internal data representation in js? Any hint is
welcome.
Benedikt
Comment