taler-docs

Documentation for GNU Taler components, APIs and protocols
Log | Files | Refs | README | LICENSE

commit 35a76e230cede840f43dd94e0b7fe6dd083973fd
parent 165ba5b8ae834f432d12345be38ffc859df9f609
Author: Florian Dold <florian.dold@gmail.com>
Date:   Thu, 19 Mar 2020 20:36:38 +0530

fix doc bugs (found by Torsten)

Diffstat:
Mcore/api-common.rst | 11++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)

diff --git 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;