diff --git a/index.ts b/index.ts index cc9c8b1..fcea889 100644 --- a/index.ts +++ b/index.ts @@ -292,8 +292,8 @@ export function getFormOfWayNumber (value: string) { * * @private * @param {number} num Number to round - * @param {number} [decimalPlaces=6] Decimal Places + * @param {number} [decimalPlaces=5] Decimal Places */ -export function round(num: number, decimalPlaces = 6) { +export function round(num: number, decimalPlaces = 5) { return new BigNumber(String(num)).toFixed(decimalPlaces) }