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

Method safe

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

Source from the content-addressed store, hash-verified

60 }
61
62 static double safe(Double v) { return v != null ? v : 0.0; }
63
64 static String rootMessage(Exception e) {
65 Throwable c = e;

Callers 1

mainMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected