1
0
Fork 0

Change CurrencySpec rate to float

pull/12239/head
Kkidslogin 2024-03-07 15:33:37 -05:00
parent 8fb26612c0
commit 78d6628ea8
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ enum Currencies {
/** Specification of a currency. */ /** Specification of a currency. */
struct CurrencySpec { struct CurrencySpec {
uint16_t rate; ///< The conversion rate compared to the base currency. float rate; ///< The conversion rate compared to the base currency.
std::string separator; ///< The thousands separator for this currency. std::string separator; ///< The thousands separator for this currency.
TimerGameCalendar::Year to_euro; ///< Year of switching to the Euro. May also be #CF_NOEURO or #CF_ISEURO. TimerGameCalendar::Year to_euro; ///< Year of switching to the Euro. May also be #CF_NOEURO or #CF_ISEURO.
std::string prefix; ///< Prefix to apply when formatting money in this currency. std::string prefix; ///< Prefix to apply when formatting money in this currency.