MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / toString

Method toString

vm/JavaAPI/src/java/lang/Double.java:225–227  ·  view source on GitHub ↗

Returns a String representation of this Double object. The primitive double value represented by this object is converted to a string exactly as if by the method toString of one argument.

()

Source from the content-addressed store, hash-verified

223 * Returns a String representation of this Double object. The primitive double value represented by this object is converted to a string exactly as if by the method toString of one argument.
224 */
225 public java.lang.String toString(){
226 return toString(value);
227 }
228
229 /**
230 * Creates a string representation of the double argument. All characters mentioned below are ASCII characters. If the argument is NaN, the result is the string "NaN". Otherwise, the result is a string that represents the sign and magnitude (absolute value) of the argument. If the sign is negative, the first character of the result is '-' ('-'); if the sign is positive, no sign character appears in the result. As for the magnitude

Callers 12

createPeerMethod · 0.95
writeNumberMethod · 0.95
appendMethod · 0.95
insertMethod · 0.95
valueOfMethod · 0.95
runTestMethod · 0.95
trimMethod · 0.95
valueOfMethod · 0.95
appendMethod · 0.95
insertMethod · 0.95
doubleLiteralMethod · 0.95
formatValueMethod · 0.95

Calls 7

absMethod · 0.95
isNaNMethod · 0.95
doubleToLongBitsMethod · 0.95
toStringImplMethod · 0.95
toCharArrayMethod · 0.95
indexOfMethod · 0.95
substringMethod · 0.95

Tested by 1

runTestMethod · 0.76