From 1aa1fd2d2861a44fcbb54ee2d2b24607cbe4adcc Mon Sep 17 00:00:00 2001 From: Jesse Alama Date: Thu, 30 May 2024 17:28:17 +0200 Subject: [PATCH] Add missing space --- spec.emu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec.emu b/spec.emu index 24b912b0..f6d1bb08 100644 --- a/spec.emu +++ b/spec.emu @@ -186,7 +186,7 @@ location: https://github.com/tc39/proposal-decimal/ 1. Assert: _n_ is not 0. 1. Let _digits_ be the unique decimal string representation of _n_ without leading zeroes. 1. If _q_ < 0, then - 1. Let _trailingZeroes_ be the String *"0"* repeated abs(_n_) -_q_ times. + 1. Let _trailingZeroes_ be the String *"0"* repeated abs(_n_) - _q_ times. 1. Return the concatenation of _digits_ and _trailingZeroes_. 1. Let _integerPart_ be the substring of _digits_ from 0 to abs(n) - _q_. 1. Let _nonIntegerPart_ be the substring of _digits_ from abs(n) - _q_ to the length of _digits_.