MCPcopy Index your code
hub / github.com/ccxt/ccxt / parseNumber

Method parseNumber

java/lib/src/main/java/io/github/ccxt/Exchange.java:1426–1428  ·  view source on GitHub ↗
(Object value)

Source from the content-addressed store, hash-verified

1424 }
1425
1426 public static Double parseNumber(Object value) {
1427 return parseNumber(value, null);
1428 }
1429
1430 public static Double parseNumber(Object value, Object defaultValue) {
1431 if (value == null) {

Callers 15

safeNumberOmitZeroMethod · 0.95
safeCurrencyStructureMethod · 0.95
setMarketsMethod · 0.95
safeBalanceMethod · 0.95
safeOrderMethod · 0.95
safeLiquidationMethod · 0.95
safeTradeMethod · 0.95
safeTickerMethod · 0.95
safeNumber2Method · 0.95
safePositionMethod · 0.95
safeNumberMethod · 0.95
safeNumberNMethod · 0.95

Calls 3

isEmptyMethod · 0.80
toStringMethod · 0.45
parseMethod · 0.45

Tested by 15

testSafeMethodsMethod · 0.76
testTickerMethod · 0.36
testLedgerEntryMethod · 0.36
testCurrencyMethod · 0.36
testTradeMethod · 0.36
testMarketMethod · 0.36
testOHLCVMethod · 0.36
testLiquidationMethod · 0.36
testOpenInterestMethod · 0.36
testBorrowRateMethod · 0.36
testTradingFeeMethod · 0.36