Displaying numbers a currencies and percentages!

Is this currently an existing feature request?
No

Wishlist item
The option to display numbers/text fields and input fields as currencies and percentages.

What current pain point are you facing?
I’m spending far too much time on trying to display numbers as currency. I’m not a dev but I do write code with the help of AI and I feel like this shouldn’t be something that needs to be coded. Real estate sites require the ability to display numbers as currency and percentages. Manually typing in $ and Commas causes errors when trying to calculate with code and overall it just makes everything complicated when you need to display numbers a currency on multiple pages. We don’t need to convert these numbers into currencies or percentages, just display them as such just like we have the option to display as a decimal.

For instance:

I broke my code because I was having issues with a form where one of the inputs wasn’t being saved because it was a number in the CMS but a number in the input, when I changed the input into a number it broke the code to display the input that the user as a currency. So I changed it to text so it worked but then it broke code on other pages and now I’m trying to display currency on another page and the code that im getting from chatGPT and Velo just isn’t working! Really wish Wix woud just allow us to display numbers as currencies and percentages. It doesn’t have to actually be currencies and percentages, just display them as such. This as taken time that I could’ve been using building out the logic I need to calculate these numbers, instead I’m stuck trying to show all these different number as a currency!

Do you have a current workaround that you’re using?
Coding

Describe the feature you need and how it would work. (Bonus points for mockups :wink:)
A easy “display as USD or %” on text fields and input fields.

How will this impact you?
Would be able to easily code calculations and display numbers on multiple pages as currency and percentages.

1 Like

@AnthonyAllioo This is noted! I believe this request would be helpful to vote for since it relates to yours: CMS Request: Using a Currency Field Type in Collections

1 Like

Thanks, didn’t know it was added as a feature request. Voted.

2 Likes

The entire text input component should be rewritten: the type-conversion back and forth from CMS-number to string and back is absurd. A number should return a number, not a string. And for people who try to put 2 or more input boxes below each other, right aligned, so you can put a running total underneath, you’re in for a big surprise: try to update the amount , like changing 100.25 into 100.22. This bug has been there for as long as I can remember and according to Wix back then, it was a conflict with RTL and could only be solved with a rewrite.