You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If I'm correct radix is used to display the decimal delimiter and mapToRadix is used to identify decimal in the source data.
In my case it's the opposite. If I have a number with a "." as decimal delimiter iMask use my radix propery to identify where is the decimal delimiter instead of mapToRadix.
Expected behavior
If my source number is "3645.6" and I set "m" as thousandDelimiter, "d" as radix and "." as mapToRadix my expected result is 3m645d6 instead of that I have "36m456".
If I set "m" as thousandDelimiter, "." as radix and "d" as mapToRadix my result is 3m645.6.
Maybe I dont understand the goal of mapToRadix but for me the doc is clear...
Environment:
OS: [Win]
Browser [Chrome]
IMask version : last
The text was updated successfully, but these errors were encountered:
Describe the bug
If I'm correct radix is used to display the decimal delimiter and mapToRadix is used to identify decimal in the source data.
In my case it's the opposite. If I have a number with a "." as decimal delimiter iMask use my radix propery to identify where is the decimal delimiter instead of mapToRadix.
To Reproduce
https://codepen.io/Frerotsweb/pen/raBgrNY
Expected behavior
If my source number is "3645.6" and I set "m" as thousandDelimiter, "d" as radix and "." as mapToRadix my expected result is 3m645d6 instead of that I have "36m456".
If I set "m" as thousandDelimiter, "." as radix and "d" as mapToRadix my result is 3m645.6.
Maybe I dont understand the goal of mapToRadix but for me the doc is clear...
Environment:
The text was updated successfully, but these errors were encountered: