JavaCast
Last updated
Was this helpful?
Last updated
Was this helpful?
Cast a variable to a specified Java type
type
string
true
The name of a Java primitive or a Java class name.
variable
any
true
The variable, Java object, or array to cast.
Converts the number 180.0 degrees to radians using Java method: Math.toRadians(double degrees)
Result: 3.141592653589793