MCPcopy Create free account
hub / github.com/arguiot/TheoremJS / ceil

Method ceil

__test__/theorem.js:1147–1149  ·  view source on GitHub ↗
(n)

Source from the content-addressed store, hash-verified

1145 return new BN(num[0].slice(0, n + 2))
1146 }
1147 ceil(n) {
1148 return new BigNumber(n).integerValue(BigNumber.ROUND_CEIL)
1149 }
1150 get e() {
1151 const n = 15
1152 const BN = BigNumber.clone({ DECIMAL_PLACES: n })

Callers 3

ln.jsFile · 0.80
lnMethod · 0.80
test.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected