changeset 26 | 4c08274a29dc |
parent 6 | e9b56d50aa99 |
child 64 | 93656f16d50a |
--- a/strings.c Thu Aug 12 17:11:47 2004 +0000 +++ b/strings.c Thu Aug 12 17:49:16 2004 +0000 @@ -322,6 +322,10 @@ return FormatNoCommaNumber(buff, ymd.year + 1920); } +uint GetCurrentCurrencyRate() { + return (&_currency_specs[_opt.currency])->rate; +} + static byte *FormatGenericCurrency(byte *buff, const CurrencySpec *spec, int64 number, bool compact) { const char *s;