Skip to content

[Bug]: Currency Field formatting not working properly with no fractional precision #246

@chromaticWaster

Description

@chromaticWaster

Components Version

0.11.4

Which package type are you using?

Unbundled

What type of bug is this?

Rendering Error

Test Case/Reproduction

No response

Description

The currency field exposes a attribute called fractional precision. This allows a user to confirm how the cents value should be formatted. When a user sets this to zero they expected the currency field to format the value as if it is a whole number currently this implementation is not working as expected

Code of Conduct

  • I agree to follow this project's Code of Conduct
  • I have searched for existing issues and to the best of my knowledge this is not a duplicate

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions