Skip to content

Commit 2ab6e24

Browse files
committed
chore: reformat
1 parent 6089c8f commit 2ab6e24

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/js/math.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import mathjs from "mathjs";
33
import _ from "underscore";
44

5-
import {tolerance as TOLERANCE} from "./constants";
5+
import { tolerance as TOLERANCE } from "./constants";
66

77
/**
88
* This module is intended to be used instead of the original mathjs package, hence we need to reexport all original functions and all TS types.
@@ -32,7 +32,6 @@ export type Help = mathjs.Help;
3232
export type MathJsChain = mathjs.MathJsChain;
3333
export type MathJsJson = mathjs.MathJsJson;
3434

35-
3635
/**
3736
* @summary Zero threshold. Numbers below it are put to zero exactly.
3837
* Used to avoid math.js bug in treating zero as X.XXe-16.
@@ -217,7 +216,6 @@ const roundValueToNDecimals = (value: number, decimals = 3) => {
217216
return parseFloat(value.toFixed(decimals));
218217
};
219218

220-
221219
// See: https://en.wikipedia.org/wiki/Rounding
222220
export enum RoundingMethod {
223221
Bankers = "bankers",

0 commit comments

Comments
 (0)