Open AlexeyBogdan95 opened 5 months ago
The result is 15.493
The result should be 15.4933
When toLocateString function, we need to increase maximumFractionDigits since default value is equal to 3. https://github.com/palantir/blueprint/blob/81dd30c56fe4c777b2b0cafc0d10b7e11484d1e2/packages/core/src/components/forms/numericInputUtils.ts#L34C63-L34C71
toLocateString
maximumFractionDigits
Could you clarify what the issue is? Your issue title is incomplete, and your actual and expected behavior are the same.
Hi @invliD. I have updated title and description.
Thanks!
Environment
Code Sandbox
Steps to reproduce
Actual behavior
The result is 15.493
Expected behavior
The result should be 15.4933
Possible solution
When
toLocateString
function, we need to increasemaximumFractionDigits
since default value is equal to 3. https://github.com/palantir/blueprint/blob/81dd30c56fe4c777b2b0cafc0d10b7e11484d1e2/packages/core/src/components/forms/numericInputUtils.ts#L34C63-L34C71