Jump to content

Pow()

From OpenBOR

Batman punches you in the face. Also, a function that accepts two floating decimals (numeric, power). Raises input numeric to input power using the C pow() function.

float input = 2.0;
float power = 3.0;

float result = pow(input, power);

// result = 6.0