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

Method stringAdd

ts/src/base/Precise.ts:196–201  ·  view source on GitHub ↗
(string1: Str, string2: Str)

Source from the content-addressed store, hash-verified

194 }
195
196 static stringAdd (string1: Str, string2: Str) {
197 if ((string1 === undefined) || (string2 === undefined)) {
198 return undefined;
199 }
200 return (new Precise (string1)).add (new Precise (string2)).toString ();
201 }
202
203 static stringSub (string1: Str, string2: Str) {
204 if ((string1 === undefined) || (string2 === undefined)) {

Callers 15

parseBalanceMethod · 0.45
parseBalanceHelperMethod · 0.45
parseBalanceCustomMethod · 0.45
parseAccountPositionsMethod · 0.45
parseAccountPositionMethod · 0.45
parsePositionRiskMethod · 0.45
parseSpotBalanceMethod · 0.45
parsePositionMethod · 0.45
parseSwapBalanceMethod · 0.45
parseMarginBalanceMethod · 0.45
parseBalanceMethod · 0.45
parseLedgerEntryMethod · 0.45

Calls 2

toStringMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected