Change the datatype returned from pow() function

I was wondering if it was possible to change the datatype returned from the pow() function and how to possibly do this. or if i have to make my own function. i need the pow() function to return a double instead of a float.

1 Like

Math.pow() -> Docs.Oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Math.html#pow(double,double)