mirror of https://github.com/zcash/zips.git
Clarifications
Co-authored-by: Kris Nuttycombe <kris.nuttycombe@gmail.com>
This commit is contained in:
parent
e2ffce08e3
commit
57cd724f71
14
zip-0321.rst
14
zip-0321.rst
|
@ -131,12 +131,14 @@ at most `<m>` instances of production ``x``.
|
|||
Transfer amount
|
||||
---------------
|
||||
|
||||
If an amount is provided, it MUST be specified in decimal ZEC. Amounts MUST NOT
|
||||
contain commas, and if a decimal fraction is present then a period (`.`) MUST be
|
||||
used as the separating character to separate the whole number from the decimal
|
||||
fraction. Both the whole number and the decimal fraction MUST be nonempty.
|
||||
Leading zeros in the whole number or trailing zeros in the decimal fraction
|
||||
are ignored. There MUST NOT be more than 8 digits in the decimal fraction.
|
||||
If an amount is provided, it MUST be specified in decimal ZEC. If a decimal fraction
|
||||
is present then a period (`.`) MUST be used as the separating character to separate
|
||||
the whole number from the decimal fraction, and both the whole number and the
|
||||
decimal fraction MUST be nonempty. No other separators (such as commas for
|
||||
grouping or thousands) are permitted. Leading zeros in the whole number or trailing
|
||||
zeros in the decimal fraction are ignored. There MUST NOT be more than 8 digits in
|
||||
the decimal fraction.
|
||||
|
||||
For example,
|
||||
* ``amount=50.00`` or ``amount=50`` or ``amount=050`` is treated as 50 ZEC;
|
||||
* ``amount=0.5`` or ``amount=00.500`` is treated as 0.5 ZEC; and
|
||||
|
|
Loading…
Reference in New Issue