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

Method stringAbs

ts/src/base/Precise.ts:210–215  ·  view source on GitHub ↗
(string: Str)

Source from the content-addressed store, hash-verified

208 }
209
210 static stringAbs (string: Str) {
211 if (string === undefined) {
212 return undefined;
213 }
214 return (new Precise (string)).abs ().toString ();
215 }
216
217 static stringNeg (string: Str) {
218 if (string === undefined) {

Callers 15

parseLedgerEntryMethod · 0.45
parseLedgerEntryMethod · 0.45
parsePositionMethod · 0.45
parseAccountPositionMethod · 0.45
parsePositionRiskMethod · 0.45
parsePositionMethod · 0.45
setMarginModeMethod · 0.45
parseLedgerEntryMethod · 0.45
parseTradeMethod · 0.45
parsePositionMethod · 0.45
parseOrderMethod · 0.45
parsePositionMethod · 0.45

Calls 2

toStringMethod · 0.45
absMethod · 0.45

Tested by

no test coverage detected