You are viewing a single comment's thread from:

RE: SteemWorld ~ Weekly Support ~ #6

in #steemworld6 years ago

A follow-up to my previous comment about decimal places and rounding.

I've just noticed there's rounding up with three decimal places too. I have 30.656 SP and my vote value shows as 0.002. But if I simulate with the SP value multiplied by 1,000 (30,656 SP), the resulting upvote value is around 1.850, which divided back by 1,000 gives 0.00185 (not 0.002).

I know this may be nitpicking, but what do you think? A difference too small for us to bother, or is it worth bothering?

Sort:  

Thank you for your investigations :) The question is what would be more correct for a value of 0.00185. Without rounding the result would be 0.001, so the difference to the real value is larger than for the case of round it up to 0.002 .

Of course I could add the option to set it to 4 decimal places...

I was thinking maybe add an option for one more decimal place, and/or an option to disable rounding in case anyone wants to see the values "unrounded."

Okay, I added two new options for being able to set it to four or five decimal places ;)

Oh, that was very quick! Thank you! It's working great! :)

It is working correctly...

I'm not saying that it's broken. My point is that the way all the user interfaces round the numbers up can be quite misleading, as I stated in my first comment (when trying to upvote a comment to get it above the dust threshold, for example). The three decimal places feature in SteemWorld gives us a better idea of our upvote value, but rounding is still there.

So, it seems the easiest way to find out our "unrounded" upvote value is still to multiply our SP by 1,000 then divide the resulting simulated upvote value by 1,000, because no interface shows the value without rounding it up.