From 3dc98a86ce30c91e2e67f4d93ae3f0948cf6f94d Mon Sep 17 00:00:00 2001 From: Daira Hopwood Date: Thu, 24 Sep 2020 14:07:39 +0100 Subject: [PATCH] Don't allow fractional zatoshi (continued). --- zip-0321.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zip-0321.rst b/zip-0321.rst index b26145af..874d8927 100644 --- a/zip-0321.rst +++ b/zip-0321.rst @@ -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``