Skip to content

Commit 23e69cf

Browse files
authored
Allow approximately sign to be empty (#135)
1 parent 29acfc6 commit 23e69cf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

numberformat/diff.emu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1769,7 +1769,7 @@
17691769
<emu-alg>
17701770
1. Let _i_ be an index into _result_, determined by an implementation-defined algorithm based on _numberFormat_ and _result_.
17711771
1. Let _approximatelySign_ be an ILND String value used to signify that a number is approximate.
1772-
1. Insert a new Record { [[Type]]: *"approximatelySign"*, [[Value]]: _approximatelySign_ } at index _i_ in _result_.
1772+
1. If _approximatelySign_ is not empty, insert a new Record { [[Type]]: *"approximatelySign"*, [[Value]]: _approximatelySign_ } at index _i_ in _result_.
17731773
1. Return _result_.
17741774
</emu-alg>
17751775
</emu-clause>

numberformat/proposed.emu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1731,7 +1731,7 @@
17311731
<emu-alg>
17321732
1. Let _i_ be an index into _result_, determined by an implementation-defined algorithm based on _numberFormat_ and _result_.
17331733
1. Let _approximatelySign_ be an ILND String value used to signify that a number is approximate.
1734-
1. Insert a new Record { [[Type]]: *"approximatelySign"*, [[Value]]: _approximatelySign_ } at index _i_ in _result_.
1734+
1. If _approximatelySign_ is not empty, insert a new Record { [[Type]]: *"approximatelySign"*, [[Value]]: _approximatelySign_ } at index _i_ in _result_.
17351735
1. Return _result_.
17361736
</emu-alg>
17371737
</emu-clause>

0 commit comments

Comments
 (0)