Nodejs Number to Float Convert to_f()

Here you can find the source of to_f()

Method Source Code

Number.prototype.to_f = function () {
  return parseFloat(this.valueOf());
};