summaryrefslogtreecommitdiff
path: root/design-documents
diff options
context:
space:
mode:
authorChristian Grothoff <grothoff@gnunet.org>2023-10-05 20:51:01 +0200
committerChristian Grothoff <grothoff@gnunet.org>2023-10-05 20:51:01 +0200
commit5cc07ff3609e04c2afb3a043d1f0b8948cb16c01 (patch)
treeee07f8a61a4148dc01a0a74aa91e921dd17dfd4f /design-documents
parent7a7ddbb751934c05eac5ac8a57599c0c3ee630c8 (diff)
downloaddocs-5cc07ff3609e04c2afb3a043d1f0b8948cb16c01.tar.gz
docs-5cc07ff3609e04c2afb3a043d1f0b8948cb16c01.tar.bz2
docs-5cc07ff3609e04c2afb3a043d1f0b8948cb16c01.zip
currency symbol, not name
Diffstat (limited to 'design-documents')
-rw-r--r--design-documents/051-fractional-digits.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/design-documents/051-fractional-digits.rst b/design-documents/051-fractional-digits.rst
index c24234ac..fb803567 100644
--- a/design-documents/051-fractional-digits.rst
+++ b/design-documents/051-fractional-digits.rst
@@ -88,9 +88,10 @@ provisioned by all three services.
let num_fractional_trailing_zero_digits: Int
// true for “$ 3.50”; false for “3,50 €”
let is_currency_name_leading: Bool
- // map of powers of 10 to alternative currency names, must
+ // map of powers of 10 to alternative currency names / symbols, must
// always have an entry under "0" that defines the base name,
- // e.g. "0 => EUR". For BTC, would be "0 => BTC, -3 => mBTC".
+ // e.g. "0 => €" or "3 => k€". For BTC, would be "0 => BTC, -3 => mBTC".
+ // This way, we can also communicate the currency symbol to be used.
let alt_unit_names: Map<Int, String>
}