CUBE ROOT

From Macros Wiki
Revision as of 20:29, 21 February 2025 by CatoH (talk | contribs)
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

!cube root of 10 = 2.1544
!cube root is the number which when multiplied by itself three times gives the product as 10
number=10
cube_root=number**(1/3)
message "the cube root of %number is %cube_root"