RPTools.net

Discussion and Support

Skip to content

It is currently Fri Sep 22, 2017 6:29 am 




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. :)



Reply to topic  [ 3 posts ] 

Previous topic | Next topic 

  Print view

Author Message
 Offline
Kobold
 
Joined: Thu Aug 07, 2014 8:32 pm
Posts: 3
 Post subject: Nth Root
PostPosted: Sun Aug 27, 2017 7:33 am 
Is there any way to perform an Nth Root function in MapTools? Any reasonable workarounds if not?


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Tue Nov 10, 2009 6:11 pm
Posts: 7859
Location: Bay Area
 Post subject: Re: Nth Root
PostPosted: Sun Aug 27, 2017 2:36 pm 
BaseDeltaZero wrote:
Is there any way to perform an Nth Root function in MapTools? Any reasonable workarounds if not?


Yes, you can use the power of 1 over N:

Code:
[math.pow(27,1/3)]

_________________
Downloads:


Top
 Profile  
 
User avatar  Offline
Great Wyrm
 
Joined: Mon May 10, 2010 11:59 am
Posts: 1661
Location: Chicagoland
 Post subject: Re: Nth Root
PostPosted: Tue Aug 29, 2017 1:58 pm 
@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"

_________________
-Jamz
____________________
Custom MapTool 1.4.x.x Fork: maptool.nerps.net
More information here: MapTool Nerps! Fork | TokenTool Nerps! Fork
Custom TokenTool (version 1.0b33): TokenTool.exe


Top
 Profile  
 
Display posts from previous:  Sort by  
Reply to topic  [ 3 posts ] 

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:

Who is online

In total there are 4 users online :: 0 registered, 0 hidden and 4 guests (based on users active over the past 5 minutes)
Most users ever online was 243 on Sun Nov 04, 2012 6:14 am

Users browsing this forum: No registered users and 4 guests





Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

Style based on Andreas08 by Andreas Viklund

Style by Elizabeth Shulman