[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-docs] branch master updated: Removing double def. of TalerAmount.
From: |
gnunet |
Subject: |
[taler-docs] branch master updated: Removing double def. of TalerAmount. |
Date: |
Tue, 19 Sep 2023 17:50:39 +0200 |
This is an automated email from the git hooks/post-receive script.
ms pushed a commit to branch master
in repository docs.
The following commit(s) were added to refs/heads/master by this push:
new 18386de9 Removing double def. of TalerAmount.
18386de9 is described below
commit 18386de91382982c266cb95a00ab716068c122af
Author: MS <ms@taler.net>
AuthorDate: Tue Sep 19 17:50:06 2023 +0200
Removing double def. of TalerAmount.
---
core/api-common.rst | 29 ++++++-----------------------
1 file changed, 6 insertions(+), 23 deletions(-)
diff --git a/core/api-common.rst b/core/api-common.rst
index 1ecfc0b9..2af9cfea 100644
--- a/core/api-common.rst
+++ b/core/api-common.rst
@@ -392,29 +392,6 @@ Contact details
Phone numbers should start with the ``+`` symbol and the country code.
-Ratios and Fees
-^^^^^^^^^^^^^^^
-
-.. ts:def:: LibeufinNumber
-
- type LibeufinNumber = number;
-
-**Note:** this quantity is normally enforced to have at most
-two decimal digits. The reason is to preserve the 2-decimal
-digits policy of the `Amount` type, as `LibeufinNumber` is used
-to multiply `Amount`.
-
-Amounts
-^^^^^^^
-
-.. ts:def:: Amount
-
- type Amount = string;
-
-Amounts have the ``$currency:X.Y`` format, where the
-fractional part is optional and may contain at most two
-digits.
-
Permissions
^^^^^^^^^^^
@@ -646,6 +623,12 @@ The following constrains apply for a valid amount:
An amount that is prefixed with a ``+`` or ``-`` character is also used in
certain contexts.
When no sign is present, the amount is assumed to be positive.
+.. note::
+
+ In some setups, when Libeufin-Bank offers cashouts towards traditional
+ currencies like EUR for example, the fractional part gets restricted
+ to at most 2 digits.
+
.. ts:def:: SignedAmount
type SignedAmount = string;
--
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: Removing double def. of TalerAmount.,
gnunet <=