Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

TCharts/fixed-round

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

7 Commits

Repository files navigation

fixed-round

Math.round with fixed, formats a number using fixed-point notation and returns a number.

Build Status Coverage Status npm npm download

Usage

npm i --save fixed-round

var round = require('fixed-round');
// round(number, toFixed);
round(125.34567, 2); // 125.35
round(125.34567); // 125
round(125.34567, -1); // 130

License

ISC@hustcc.

About

Math.round with fixed, formats a number using fixed-point notation and returns a number.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

AltStyle によって変換されたページ (->オリジナル) /