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

Method parseFloat

vm/JavaAPI/src/java/lang/Float.java:186–188  ·  view source on GitHub ↗

Returns a new float initialized to the value represented by the specified String.

(java.lang.String s)

Source from the content-addressed store, hash-verified

184 * Returns a new float initialized to the value represented by the specified String.
185 */
186 public static float parseFloat(java.lang.String s) throws java.lang.NumberFormatException{
187 return StringToReal.parseFloat(s);
188 }
189
190 /**
191 * Returns the value of this Float as a short (by casting to a short).

Callers 15

getThumbInsetMethod · 0.95
getMaterialDesignSizeMethod · 0.95
getMaterialImageSizeMethod · 0.95
toFloatValueMethod · 0.95
postResponseMethod · 0.95
parseFloatMethod · 0.95
showMenuDialogMethod · 0.95
installRightCommandsMethod · 0.95

Calls 1

parseFloatMethod · 0.95

Tested by 2

getFloatMethod · 0.76