Nth Root
Moderators: dorpond, trevor, Azhrei
Forum rules
PLEASE don't post images of your entire desktop, attach entire campaign files when only a single file is needed, or generally act in some other anti-social behavior.
PLEASE don't post images of your entire desktop, attach entire campaign files when only a single file is needed, or generally act in some other anti-social behavior.
-
- Kobold
- Posts: 1
- Joined: Thu Aug 07, 2014 9:32 pm
Nth Root
Is there any way to perform an Nth Root function in MapTools? Any reasonable workarounds if not?
Re: Nth Root
Yes, you can use the power of 1 over N:BaseDeltaZero wrote:Is there any way to perform an Nth Root function in MapTools? Any reasonable workarounds if not?
Code: Select all
[math.pow(27,1/3)]
Downloads:
- Notepad++ MapTool addon
- RPEdit details (v1.3)
- Coding Tips: Modularity and Design
- Videos: Macro Writing Tools
- JamzTheMan
- Great Wyrm
- Posts: 1872
- Joined: Mon May 10, 2010 12:59 pm
- Location: Chicagoland
- Contact:
Re: Nth Root
@Wolph42, is the wiki updated with all the Math. functions? IIRC Craig added some math functions in 1.4.0.x? (or where they just updates?)
Looks like some are missing? Quick copy from java:
"math.abs", "math.ceil", "math.floor", "math.cos", "math.cos_r", "math.sin", "math.sin_r", "math.tan", "math.tan_r", "math.acos", "math.acos_r", "math.asin", "math.asin_r", "math.atan", "math.atan_r", "math.atan2", "math.atan2_r", "math.cbrt", "math.cuberoot", "math.hypot", "math.hypotenuse", "math.log", "math.log10", "math.min", "math.max", "math.mod", "math.pow", "math.sqrt", "math.squareroot", "math.toRadians", "math.toDegrees", "math.pi", "math.e", "math.isOdd", "math.isEven", "math.isInt"
Looks like some are missing? Quick copy from java:
"math.abs", "math.ceil", "math.floor", "math.cos", "math.cos_r", "math.sin", "math.sin_r", "math.tan", "math.tan_r", "math.acos", "math.acos_r", "math.asin", "math.asin_r", "math.atan", "math.atan_r", "math.atan2", "math.atan2_r", "math.cbrt", "math.cuberoot", "math.hypot", "math.hypotenuse", "math.log", "math.log10", "math.min", "math.max", "math.mod", "math.pow", "math.sqrt", "math.squareroot", "math.toRadians", "math.toDegrees", "math.pi", "math.e", "math.isOdd", "math.isEven", "math.isInt"
-Jamz
____________________
Custom MapTool 1.4.x.x Fork: maptool.nerps.net
Custom TokenTool 2.0 Fork: tokentool.nerps.net
More information here: MapTool Nerps! Fork
____________________
Custom MapTool 1.4.x.x Fork: maptool.nerps.net
Custom TokenTool 2.0 Fork: tokentool.nerps.net
More information here: MapTool Nerps! Fork