The Tournament Director Forums
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
The Tournament Director Forums
»
Main
»
Help Me
»
pointsforplaying token rounding off
« previous
next »
Print
Pages: [
1
]
Author
Topic: pointsforplaying token rounding off (Read 1719 times)
Mac_09
Newbie
Posts: 27
pointsforplaying token rounding off
«
on:
May 23, 2013, 02:46:33 PM »
I use the pointsforplaying token to display the possible points players can earn during the tournament. I downloaded 3.2 today and now the points are rounding to the nearest whole number. It was not doing this prior to downloading 3.2. I have points and score precision set to 3. Thanks.
Logged
Corey Cooper
Administrator
Hero Member
Posts: 6216
Re: pointsforplaying token rounding off
«
Reply #1 on:
May 23, 2013, 03:03:32 PM »
For the
<pointsforplaying>
token, the "precision" attribute was added, allowing you to override your Points Precision preference. But if you don't include it, you should see any change as it defaults to whatever your preference is.
Logged
Mac_09
Newbie
Posts: 27
Re: pointsforplaying token rounding off
«
Reply #2 on:
May 23, 2013, 03:12:48 PM »
I do not have an attribute for it defined. Under Currency/Numbers, I have points precision set to 3, but it is still rounding. For example, 1st place is worth 7.07 points, but it is displaying 7.00. Am I missing another preference?
Logged
Corey Cooper
Administrator
Hero Member
Posts: 6216
Re: pointsforplaying token rounding off
«
Reply #3 on:
May 23, 2013, 06:36:47 PM »
Oh, uh, yeah, sorry. I was thinking "rounding off", as in chopping off the decimal point and anything following it, but that's not what you meant.
You're absolutely right. And I can see the bug. I'll fix it with a patch, hopefully later tonight.
Logged
Corey Cooper
Administrator
Hero Member
Posts: 6216
Re: pointsforplaying token rounding off
«
Reply #4 on:
May 23, 2013, 11:31:10 PM »
Patched.
Logged
Mac_09
Newbie
Posts: 27
Re: pointsforplaying token rounding off
«
Reply #5 on:
July 10, 2013, 01:19:37 PM »
Hey Corey, same thing is happening with the pointsFormula token.
Logged
Corey Cooper
Administrator
Hero Member
Posts: 6216
Re: pointsforplaying token rounding off
«
Reply #6 on:
July 11, 2013, 04:39:48 PM »
Yup, same exact bone-headed change I made. I remember noticing this when I fixed
<pointsForPlaying>
. Cannot figure why I didn't fix it, too.
Logged
Print
Pages: [
1
]
« previous
next »
The Tournament Director Forums
»
Main
»
Help Me
»
pointsforplaying token rounding off