[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-docs] branch master updated: Added info about the built-in curren
From: |
gnunet |
Subject: |
[taler-docs] branch master updated: Added info about the built-in currency formatter (iOS) |
Date: |
Wed, 04 Oct 2023 17:37:10 +0200 |
This is an automated email from the git hooks/post-receive script.
marc-stibane pushed a commit to branch master
in repository docs.
The following commit(s) were added to refs/heads/master by this push:
new 06307c03 Added info about the built-in currency formatter (iOS)
06307c03 is described below
commit 06307c0335b8493d5faffa4a057ccd78f16ee017
Author: Marc Stibane <marc@taler.net>
AuthorDate: Wed Oct 4 17:37:00 2023 +0200
Added info about the built-in currency formatter (iOS)
---
design-documents/051-fractional-digits.rst | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/design-documents/051-fractional-digits.rst
b/design-documents/051-fractional-digits.rst
index 99929f30..21930d1b 100644
--- a/design-documents/051-fractional-digits.rst
+++ b/design-documents/051-fractional-digits.rst
@@ -32,6 +32,12 @@ Usually, all these three numbers have the same value, which
means that in case o
cent/penny values (but not a fraction of those), these cents/pennies are
always shown (even if they are 0) as two normal digits
after the decimal separator, and fractions of a cent/penny are rendered as
SuperScriptDigits, but only if they are not trailing zeroes.
+iOS has a built-in currency formatter, which knows how to deal with
thousands-separators and where to apply them
+(e.g. India uses a mixture of hundreds and thousands instead of putting the
separator after each 3 digits like western currencies).
+However, this formatter will round after two (or three) fractional digits and
thus cannot be used for the whole amount.
+
+(please add information about Android and WebEx here)
+
Proposed Solution
=================
@@ -46,6 +52,12 @@ Proposed Solution
let isCurrencyNameLeading: Bool // true for “$ 3.50”;
false for “3,50 €”
}
+For iOS, we plan to format the integer part of the amount with the built-in
currency formatter, then add the fractional part
+according to this document.
+
+(please add information about Android and WebEx here)
+
+
Definition of Done
==================
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-docs] branch master updated: Added info about the built-in currency formatter (iOS),
gnunet <=