Constant fractal_utils::CURRENCY_SYMBOL
[−]
[src]
pub const CURRENCY_SYMBOL: char=
'\u{3fe}'
The symbol of Fractal Global Credits
This symbol, Ͼ
should be used whenever an amount of currency has to be represented. It is a
dotted lumate sigma symbol, the Unicode U+03FE 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");