JohnnyBGoode
Programmer
I have a string:
var temp;
temp = '1000.123';
I need to know how many decimal places there are. Is there an easy way? The answer is gonna be 3...obviously.
var temp;
temp = '1000.123';
I need to know how many decimal places there are. Is there an easy way? The answer is gonna be 3...obviously.