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

Method safe

java/examples/src/main/java/examples/FetchTrades.java:44–44  ·  view source on GitHub ↗
(Double v)

Source from the content-addressed store, hash-verified

42 }
43
44 static double safe(Double v) { return v != null ? v : 0.0; }
45}

Callers 1

mainMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected