Answers for "input type number should not allowed decimal value"

16

input type that allows float number

<input type="number" step="0.01">
Posted by: Guest on June-20-2020
0

input type=number 01

//How to make a number field with always 2 numbers displayed : 01, 02, 03 ...-->
<input id="" type="number" min="1" max="99" step="1" onchange="if(parseInt(this.value,10)<10)this.value='0'+this.value;" />
Posted by: Guest on May-09-2020

Code answers related to "input type number should not allowed decimal value"

Browse Popular Code Answers by Language