Member
Join Date: Dec 2010
Posts: 62
|
A (hopefully) simple mathematical question from an XML noob: what function can I use to determine the absolute value of a number or to round down to the nearest integer? I need to generate a number that's a fraction of a character's class level, but I don't really want things like "2.2" showing up when obviously only whole numbers are valid.
Thanks in advance. |
#1 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Here is a list of built in functions from the wiki. Don't see absolute value but the round function is their.
Hope that helps. Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. |
#2 |
|
|