why does javascript give me results with lots of trailing numbers
when i need to calculate a x*y
when i do a 11 * 1.1 it gives me 12.100000000000001 instead of 12.1
are there any solution?
x and y can be of any value between 2000.00 and -1000.00 and "usually" between 50 and -50
help?
must be in javascript and hopefully short
N
needhelp
@needhelp
0
Reputation
1
Posts
41
Profile views
0
Followers
0
Following
Best posts made by needhelp
This user hasn't posted anything yet.
Latest posts made by needhelp
-
Javascript calculation