gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-docs] branch master updated: fix doc bugs (found by Torsten)


From: gnunet
Subject: [taler-docs] branch master updated: fix doc bugs (found by Torsten)
Date: Thu, 19 Mar 2020 16:06:43 +0100

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository docs.

The following commit(s) were added to refs/heads/master by this push:
     new 35a76e2  fix doc bugs (found by Torsten)
35a76e2 is described below

commit 35a76e230cede840f43dd94e0b7fe6dd083973fd
Author: Florian Dold <address@hidden>
AuthorDate: Thu Mar 19 20:36:38 2020 +0530

    fix doc bugs (found by Torsten)
---
 core/api-common.rst | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/core/api-common.rst b/core/api-common.rst
index 8a885f0..dfe9cc3 100644
--- a/core/api-common.rst
+++ b/core/api-common.rst
@@ -317,18 +317,19 @@ Internally, amounts are parsed into the following object:
 .. ts:def:: ParsedAmount
 
   interface ParsedAmount {
-    // name of the currency using either a three-character ISO 4217 currency
+    // Name of the currency using either a three-character ISO 4217 currency
     // code, or a regional currency identifier starting with a "*" followed by
     // at most 10 characters.  ISO 4217 exponents in the name are not 
supported,
     // although the "fraction" is corresponds to an ISO 4217 exponent of 6.
     currency: string;
 
-    // unsigned 32 bit value in the currency, note that "1" here would
-    // correspond to 1 EUR or 1 USD, depending on `currency`, not 1 cent.
+    // Non-negative integer value in the currency, can be at most 2^52.
+    // Note that "1" here would correspond to 1 EUR or 1 USD,
+    // depending on `currency`, not 1 cent.
     value: number;
 
-    // unsigned 32 bit fractional value to be added to ``value`` representing
-    // an additional currency fraction, in units of one millionth (1e-6)
+    // Unsigned 32 bit fractional value to be added to ``value`` representing
+    // an additional currency fraction, in units of one hundred millionth 
(1e-8)
     // of the base currency value.  For example, a fraction
     // of 500,000 would correspond to 50 cents.
     fraction: number;

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]