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

Rounding to X decimal places?

1468601170

Edited 1468601204
I am trying to get a rounded value of X / Y but not to whole numbers, any easy way to round this 0.24675324675324675  to 0.25 in chat? As part of an inline roll?
1468602195
Silvyre
Forum Champion
This should work: [[ round(0.24675324675324675 * 100) / 100 ]]