Closed
Description
Bug Report
Hi,
According to the specification and if my understanding is correct, the RoundingType is missing.
π Search Terms
Possibly related to #36533
π Version & Regression Information
I have no idea.
π» Code
const n = 22
n.toLocaleString("en", {minimumFractionDigits:2, maximumFractionDigits: 2})
The specification mentions this about MinimumFractionDigits and MaximumFractionDigits:
These properties are only used when [[RoundingType]] is fractionDigits.
Therefore, my number is not zero-padded...
π Actual behavior
I cannot specify a RoundingType
π Expected behavior
I can specify a RoundingType.