Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
safeNumberOmitZero
Method · 0.95
safeCurrencyStructure
Method · 0.95
setMarkets
Method · 0.95
safeBalance
Method · 0.95
safeOrder
Method · 0.95
safeLiquidation
Method · 0.95
safeTrade
Method · 0.95
safeTicker
Method · 0.95
safeNumber2
Method · 0.95
safePosition
Method · 0.95
safeNumber
Method · 0.95
safeNumberN
Method · 0.95
Calls
3
isEmpty
Method · 0.80
toString
Method · 0.45
parse
Method · 0.45
Tested by
15
testSafeMethods
Method · 0.76
testTicker
Method · 0.36
testLedgerEntry
Method · 0.36
testCurrency
Method · 0.36
testTrade
Method · 0.36
testMarket
Method · 0.36
testFundingRateHistory
Method · 0.36
testOHLCV
Method · 0.36
testLiquidation
Method · 0.36
testOpenInterest
Method · 0.36
testBorrowRate
Method · 0.36
testTradingFee
Method · 0.36