Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account
This post has been closed. You can still view previous posts, but you can't post any new replies.

rounding to the 3rd decimal place as part of a macro help question

I know that it is possible to round to a whole number - is it possible to round to the third or other decimal place after a calculation is made by a macro?  Thanks
1551748861
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Through some math, it should be. What situation are you working with?
1551749136
The Aaron
Roll20 Production Team
API Scripter
Math like this: [[round((1d100/17)*1000)/1000]]
thank you Aaron!
My turn tracker looks WAYYYY cleaner now Aaron. :DDD
Hi Barry, as your question's answered I'll be closing this thread.