fix for RangeError

this commit fix the RangeError caused by a wrong invocation of the toFixed function

http://jsfiddle.net/alecava/38bfT/