From WikiChip
$cbrt identifier - mIRC
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
$cbrt returns the cube root.
Details
Synopsis
$cbrt(N)
Parameters
- N - Number for which the cube root is returned
Properties
None
Example
//bigfloat on | var %n $rand(2,999) | echo -a the cube root of %n is approximately $cbrt(%n) same as $calc(%n ^ (1/3)) $calc($cbrt(%n) ^ 3)
//bigfloat on | var %n $rand(2,999) | echo -a the cube root of %n is approximately $cbrt(%n) same as $calc(%n ^ (1/3)) cubed is $calc($cbrt(%n) ^ 3)
Compatibility
Added: mIRC v7.72
Added on: 27 Nov 2022
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.