Skip to content

Commit

Permalink
update default roudning to five decimals
Browse files Browse the repository at this point in the history
  • Loading branch information
kpwebb committed Apr 15, 2018
1 parent 591802b commit c56be9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

0 comments on commit c56be9b

Please sign in to comment.