Constant fractal_utils::CURRENCY_SYMBOL
[−]
[src]
pub const CURRENCY_SYMBOL: char=
'\u{20a3}'
The symbol of Fractal Global Credits
This symbol, ₣
should be used whenever an amount of currency has to be represented. It is a
FRENCH FRANC SIGN symbol, the Unicode U+20A3 character. It can easily be used when
formatting currencies:
use fractal_utils::{CURRENCY_SYMBOL, Amount}; let amount = Amount::from_repr(30_000); // 30.000 assert_eq!(format!("{} {}", CURRENCY_SYMBOL, amount), "₣ 30");