taiga-family/maskito

🐞 -`Number` with `postfix` is not compatible with `decimalZeroPadding`

Closed this issue · 0 comments

Which package(s) are the source of the bug?

@maskito/kit

Playground Link

https://tinkoff.github.io/maskito/kit/number/API?sandboxExpanded=true&postfix=₽&precision=2&decimalZeroPadding=true

Description

42

Actual: 42₽.00
Expected: 42.00₽

SCR-20230705-mdba
42.24

Actual: 4 224₽.00
Expected: 42.24₽


42,24

Actual: 4 224₽.00
Expected: 42.24₽

SCR-20230705-mhlf

Maskito version

1.2.0

Which browsers have you used?

  • Chrome
  • Firefox
  • Safari
  • Edge

Which operating systems have you used?

  • macOS
  • Windows
  • Linux
  • iOS
  • Android