From 8c4a762c57b43c120b4a0977d0c7605e27038515 Mon Sep 17 00:00:00 2001 From: Jesse Alama <jesse@igalia.com> Date: Wed, 11 Dec 2024 16:51:21 +0100 Subject: [PATCH] typo --- spec.emu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec.emu b/spec.emu index 82629a3..f5dc784 100644 --- a/spec.emu +++ b/spec.emu @@ -356,7 +356,7 @@ location: https://github.com/tc39/proposal-decimal/ 1. Return _O_. </emu-alg> <emu-note> - <p>Given a Number argument, the constructor converts it to a String using the <emu-xref href="#sec-number.prototype.tostring">toString</emu-xref> method (with no arguments). In some cases, this may not be desited. In some use cases, given a Number, one may wish to call the Decimal128 constructor not with the number but rather with, for instance, the result of calling <emu-xref href="#sec-number.prototype.tofixed">toFixed</emu-xref> or <emu-xref href="#sec-number.prototype.toprecision">toPrecision</emu-xref> on the Number, thereby ensuring a certain level of precision that may get lost when using Number’s toString.</p> + <p>Given a Number argument, the constructor converts it to a String using the <emu-xref href="#sec-number.prototype.tostring">toString</emu-xref> method (with no arguments). In some cases, this may not be desired. In some use cases, given a Number, one may wish to call the Decimal128 constructor not with the number but rather with, for instance, the result of calling <emu-xref href="#sec-number.prototype.tofixed">toFixed</emu-xref> or <emu-xref href="#sec-number.prototype.toprecision">toPrecision</emu-xref> on the Number, thereby ensuring a certain level of precision that may get lost when using Number’s toString.</p> </emu-note> <emu-clause id="sec-runtime-semantics-stringdecimalvalue" type="sdo"> <h1>Runtime Semantics: StringDecimalValue ( ): either a normal completion containing a Decimal128 value or a throw completion</h1>