Functions for converting between strings and numeric values.
toString( fpVal )
fpVal (floating point): floating point numeric value
fpValtoString( intVal )
intVal (long integer): integer numeric value
intValtoString( charVal )
charVal (char): character numeric value
charValtoString( byteVal )
byteVal (byte): byte numeric value
byteValtoString( booleanVal )
booleanVal (boolean): boolean value (true or false)
booleanVal
("true" or "false")
toString( objVal )toString
to any object value without knowing its type
and get a useful return from it.
objVal (Object): non-primitive value
objValparseByte( str )
str (String): string containing numeric representation
strparseShort( str )
str (String): string containing numeric representation
strparseInt( str )
str (String): string containing numeric representation
strparseLong( str )
str (String): string containing numeric representation
strparseFloat( str )
str (String): string containing numeric representation
strparseDouble( str )
str (String): string containing numeric representation
strtoByte( value )
value (floating point): numeric value for conversion
value converted to type byte
toShort( value )
value (floating point): numeric value for conversion
value converted to type short
toInteger( value )
value (floating point): numeric value for conversion
value converted to type int
toLong( value )
value (floating point): numeric value for conversion
value converted to type long
toFloat( value )
value (floating point): numeric value for conversion
value converted to type float
toDouble( value )
value (floating point): numeric value for conversion
value converted to type double
toHex( value )
value (long integer): integer value
valuetoHex(42) = "2a"fromHex( hexVal )
hexVal (String): hexadecimal representation of value
hexValfromHex("2a") = 42