Nodejs Float Parse fromDecimal()

Here you can find the source of fromDecimal()

Method Source Code

// Method to decode a decimal string
// '83 101 116 104'.fromDecimal(); returns 'Seth'
String.prototype.fromDecimal = function() {
  for (var dec = this.split(' '), i = 0, $ = '', d; d = dec[i]; i++) $ += String.fromCharCode(d);
  return $;//from   w w  w .j a va2  s  .co  m
};