mirror of https://github.com/OpenRCT2/OpenRCT2.git
Redefine what is a "large" currency.
Decimals currencies does make sense when 10 < rate < 100, so it's neccesary to raise the limit before hiding decimals
This commit is contained in:
parent
fc6f4929b7
commit
4ebcf80a1a
|
@ -504,7 +504,7 @@ void format_currency_2dp(char **dest, long long value)
|
|||
}
|
||||
|
||||
// Drop the pennies for "large" currencies
|
||||
if (rate > 10) {
|
||||
if (rate >= 100) {
|
||||
format_comma_separated_integer(dest, value / 100);
|
||||
} else {
|
||||
format_comma_separated_fixed_2dp(dest, value);
|
||||
|
|
Loading…
Reference in New Issue