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 here.
×
×
Cookie Preferences
We use Cookies to help personalize and improve Roll20. For more information on our use of non-essential Cookies, visit our Privacy Policy here.
In two different campaigns I have seen issues when a decimal value (say 12.12) is in an inline roll. [[1d20+12.12]] will come out as 15.119999999997 Just looks bad in Chat and the Turn tracker (using macros for Initiative)
This is a known issue with floating point. Here you go: <a href="https://app.roll20.net/forum/post/363762/round-counter-trick-macro#post-36429" rel="nofollow">https://app.roll20.net/forum/post/363762/round-counter-trick-macro#post-36429</a> If you split it up to: 1d20 +12 +0.12 it will work correctly.