Bug in function .toFixed()

Hello,

in certain circumstances the function .toFixed() delivers a wrong result.

For example the code …

var vNumber,
    vResult;
	
vNumber = 2.5;
vResult = vNumber.toFixed(0);

… returns 2.3

You think you could fix this in your next relaese?
Thank you!

please search the forum for toFixed
for example:

http://forum.servoy.com/viewtopic.php?t … ht=tofixed

so there is a bug in toFixed but that is in the script engine we use. This engine will not be upgraded before servoy 4.0.
Maybe i can look at it and try to see if i can fix it our selfs.