From 78d6628ea8aa2490bf0e18a7a5ae5e8452f69e9c Mon Sep 17 00:00:00 2001 From: Kkidslogin <96443213+TheMowgliMan@users.noreply.github.com> Date: Thu, 7 Mar 2024 15:33:37 -0500 Subject: [PATCH] Change CurrencySpec rate to float --- src/currency.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/currency.h b/src/currency.h index 490f3efd01..3daa290560 100644 --- a/src/currency.h +++ b/src/currency.h @@ -72,7 +72,7 @@ enum Currencies { /** Specification of a currency. */ 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. 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.