rounds a smaller value to a larger one (this is inconvenient)
for example: 2185 shows 2.2k,
It's probably better this way: 2.18k
thanks
rounds a smaller value to a larger one (this is inconvenient)
for example: 2185 shows 2.2k,
It's probably better this way: 2.18k
thanks
I'm not a programmer and I've always been stuck trying to figure out the best way to represent numerical values. My goal when I created the plugin was to always use 1 decimal only (to make the text as small as possible) but without rounding it to the highest value, i.e. 2185 show it as 2.1K and not show 2.2k until the value is 2200. Unfortunately using formatting in ToString() seems to always do value rounding. I have reviewed the plugin and I have made changes using Math.Truncate and I think it already works as I wanted, I don't know of a better way right now.
Updated Link
If you prefer two decimal places instead of one, I could upload a modified plugin with that change tomorrow
Last edited by RNN; 4 Weeks Ago at 08:31 AM.
Everything is fine, that's what I need, thank you