Mohammed Mushahid Qureshi

Results 5 comments of Mohammed Mushahid Qureshi

Hi! I'd like to work on this

Including `maximumSignificantDigits` in options for `Intl.NumberFormat` allows for decimal places. ```javascript const number = parseFloat((277/278).toFixed(10)); console.log(number) // Expected output: 0.9964028777 console.log(new Intl.NumberFormat(undefined, { style: 'percent'}).format(number)); // Expected output: "100%" console.log(new...

@mpkorstanje It rounds up to 100% for `const number = 0.999999999;` We. can parse to less decimal places if needed first. ```javascript let number = parseFloat((0.999999999).toFixed(10)); console.log(number) // Expected output:...

@mpkorstanje I apologise, I was testing using the same code segments for both cases hence the error. Someone had mentioned that rounding down to 2 decimal places might be considered...

Hi, I'd like to work on this if it is available.