decimal-adjust.js
Decimal adjustment of a number.
Install
npm install decimal-adjust
API
decimalAdjust(type, value, exp)
Params
- type (
String
) The type of adjustment. - value (
Number
) The number. - exp (
Integer
) The exponent (the 10 logarithm of the adjustment base).
Returns
- (
Number
) The adjusted value.
Example
var decimalAdjust = ; Math { return ;}; Math { return ;}; Math { return ;};