Javascript String to_f()

Description

Javascript String to_f()

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

Javascript String to_f()

String.prototype.to_f = function() {
 return parseFloat(this,10);
}



PreviousNext

Related