How to force user to enter 3 digits after decimal
I want to force the user to enter 3 digits after the decimal. For instance, 100.500 not 100.50
Is there a ready or easy masked input for currency to use for that purpose? Or is there a way to count the number of digits after the decimal? like if they are less than <3) { error should pop up }