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

Method stringAdd

js/src/base/Precise.js:177–182  ·  view source on GitHub ↗
(string1, string2)

Source from the content-addressed store, hash-verified

175 return (new Precise(string1)).div(string2Precise, precision).toString();
176 }
177 static stringAdd(string1, string2) {
178 if ((string1 === undefined) || (string2 === undefined)) {
179 return undefined;
180 }
181 return (new Precise(string1)).add(new Precise(string2)).toString();
182 }
183 static stringSub(string1, string2) {
184 if ((string1 === undefined) || (string2 === undefined)) {
185 return undefined;

Callers 15

getExtendedEncodeI64Method · 0.45
parseBalanceHelperMethod · 0.45
parseBalanceCustomMethod · 0.45
parseAccountPositionsMethod · 0.45
parseAccountPositionMethod · 0.45
parsePositionRiskMethod · 0.45
parseTransactionMethod · 0.45
fetchLedgerMethod · 0.45
fetchMyTradesMethod · 0.45
fetchDepositsMethod · 0.45

Calls 2

toStringMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected