项目作者: sovpro

项目描述 :
Float an integer value
高级语言: JavaScript
项目地址: git://github.com/sovpro/afloat.git
创建时间: 2020-01-20T01:15:16Z
项目社区:https://github.com/sovpro/afloat

开源协议:

下载


Afloat

Float an integer value.

Build status for Node.js 4.x and newer

  1. let value = afloat (987654321.1)
  2. // value will be: 0.987654321

Preserve floating digits

  1. let value = afloat (987654321.1, true)
  2. // value will be: 0.9876543211