MCPcopy Create free account
hub / github.com/ccxt/ccxt / parseUnits

Method parseUnits

ts/src/derive.ts:1178–1180  ·  view source on GitHub ↗
(num: string, dec = '1000000000000000000')

Source from the content-addressed store, hash-verified

1176 }
1177
1178 parseUnits (num: string, dec = '1000000000000000000') {
1179 return Precise.stringMul (num, dec);
1180 }
1181
1182 /**
1183 * @method

Callers 2

createOrderMethod · 0.95
editOrderMethod · 0.95

Calls 1

stringMulMethod · 0.45

Tested by

no test coverage detected