Open RaptorXilef opened 6 months ago
does this also happen when setting the number formatter in settings?
configuration.yml
numberFormatter:
numberAbbreviationDecimalPlaces: 2
Yes, I have set the settings as you described. The BUG described above in the display of decimal places still exists. Even changing the value to 1 or 0 does not change anything. My current attitude is:
configuration.yml
numberFormatter:
numberAbbreviationDecimalPlaces: 2
thousandAbbreviation: "K"
millionAbbreviation: "M"
billionAbbreviation: "B"
trillionAbbreviation: "T"
displayNumberAbbreviations: true
As a test, I used the placeholders in another plugin, "DecentHolograms", to check whether the incorrect output was due to the scoreboard plugin. Unfortunately, "DecentHolograms" displays the values with the same result.
Describe the Bug and Feature Request
Placeholder without output:
Working placeholders:
Expected behavior An output of a string or a value.
The unexpected expenditure at %iridiumskyblock_island_bank_money% only occurs when a player deposits all his money into the bank. If only full amounts are deposited, the value is displayed correctly. I suspect that in this case Vault passes a value with more than 12 decimal places to IridiumSkyblock, so that it automatically continues to work with this value. Perhaps a solution could be found at this point. The unexpected output at %iridiumskyblock_island_value% always occurs.
Expected behavior The output of a value rounded to max. 2 decimal places.
Wish Can you limit the output of these variables/placeholders to two decimal places or insert two additional placeholders that also output the rounded values?
Server and Plugin Version
/version
/is about
Screenshots __
Should you require further information from me, please do not hesitate to contact me at any time.