View Single Post
Fenris447
Senior Member
 
Join Date: Sep 2017
Posts: 600

Old December 26th, 2023, 04:26 PM
Search this page for the round function and how to make it go in either direction.

To use an example, let's say you have two variables X (the result) and Y (the number you want rounded down). You put:

X = round(Y,0,-1)

The 0 represents the number of decimal places you want (in this case zero). The -1 tells it to round down.

Found an issue with or have a suggestion for the 5e Community Pack? Please post it here at our GitHub.

Feel free to stop by the Lone Wolf Development Subreddit, for discussion of any and all LWD products and community efforts!
Fenris447 is offline   #2 Reply With Quote