CUBE ROOT

From Macros Wiki
Revision as of 20:22, 21 February 2025 by CatoH (talk | contribs) (calculate cube root)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Up

Not a function but the macro language supports calculation of cube root

** = pow math command with 1/3 inverting it to the cube root.

Example

number=10
cube_root=number**(1/3)
message "the cube root of %number is %cube_root"