we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
showing results for - "floating point in javascript"
Santino
09 Sep 2018
1function strip(number) {
2    return (parseFloat(number).toPrecision(12));
3}
4