MCPcopy
hub / github.com/MikeMcl/decimal.js / t

Function t

test/modules/divToInt.js:5–7  ·  view source on GitHub ↗
(dividend, divisor, expected)

Source from the content-addressed store, hash-verified

3T('dividedToIntegerBy', function () {
4
5 function t(dividend, divisor, expected) {
6 T.assertEqual(expected, new Decimal(dividend).divToInt(divisor).valueOf());
7 }
8
9 Decimal.config({
10 precision: 100,

Callers 1

divToInt.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected