var value 1 = parseInt(value, 10);
Value 1 = 12, the type of value1is number, and there is no difference between floating-point type and plastic type in js.
ParseInt (value,10); The second parameter means 10 base, and if it is octal, it is parseInt(value, 8);