Jump to content

Pow()

From OpenBOR
Revision as of 14:39, 21 July 2026 by Dcurrent (talk | contribs) (Created page with "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 <code>pow()</code> function. center|frame <syntaxhighlight lang="c" line="1"> float input = 2.0; float power = 3.0; float result = pow(input, power); // result = 6.0 </syntaxhighlight> Category:OpenBOR Index Category:Script Functions Category:Math")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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