mirror of https://github.com/zcash/zips.git
Don't allow fractional zatoshi (continued).
This commit is contained in:
parent
b44c11e8c7
commit
3dc98a86ce
|
@ -132,7 +132,8 @@ 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. For example,
|
||||
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
|
||||
* ``amount=50,000.00`` or ``amount=50,00`` or ``amount=50.`` or ``amount=.5``
|
||||
|
|
Loading…
Reference in New Issue