MCPcopy Index your code
hub / github.com/Erlandys/UE4LinuxLauncher / stringToNumber

Method stringToNumber

src/org/json/JSONObject.java:1891–1943  ·  view source on GitHub ↗

Converts a string to a number using the narrowest possible type. Possible returns for this function are BigDecimal, Double, BigInteger, Long, and Integer. When a Double is returned, it should always be a valid Double and not NaN or +-infinity. @param val value to convert @return Number representati

(final String val)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

getNumberMethod · 0.95
optNumberMethod · 0.95
getNumberMethod · 0.95
optNumberMethod · 0.95

Calls 2

isDecimalNotationMethod · 0.95
lengthMethod · 0.45

Tested by

no test coverage detected