Skip to content

Work with integer values, dont change value#88

Open
vencendor wants to merge 1 commit intoprice-format:masterfrom
vencendor:zero_fill
Open

Work with integer values, dont change value#88
vencendor wants to merge 1 commit intoprice-format:masterfrom
vencendor:zero_fill

Conversation

@vencendor
Copy link
Copy Markdown

If i have value 1000, plugin automatic change value to 10.00
If i write 1000.00 as input value all it's good

I make changes in code - if value dont have centSeparator need to add it and zeros for not lose values or make wrong changes

Copy link
Copy Markdown

@shadyueh shadyueh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This solved the boring issue when a value is a float with no cents. I updated my priceFormat with your changes and now it's handling integer values correctly. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants