How to extract last(end) digit of the Number value using jquery. because i have to check the last digit of number is 0 or 5. so how to get last digit after decimal point
If you want the digit in the hundredths place, then you can do the following:
test * 100 % 10
The problem with convert to string and getting the last digit is that it does not give the hundredths place value for whole numbers.