I have an input field which accepts only integer. And I want to maintain the integer always with two decimal points like 10.00 or 4.00 .
I have already tried toFixed() and toPrecise() already both converts the integer to string.
var anum = 134;
console.log(
  anum.toFixed(2), //"134.00"
  typeof(anum.toFixed(2)) //"string"
)
I want to maintain it as integer only and not string