Hello again, I have another issue I am trying to figure out. How to display data from a number field as currency within a repeater.
Currently, I have the data set as text in the collection, ie " $15,995 " which displays perfectly fine. The issue arises when a sort function is added, ie “Sort by Price (low to high)” as it sorts alphabetically not numerically causing $16,999 to display before (lower) than $5,995
To fix the sorting issue I returned to entering the data as a numerical value. The problem now exists with how the data displays, I need it to appear as $5,995 not 5995.
How do I format the data to add a dollar sign ($) and a comma in the appropriate place? None of my items will contain anything cents, so no need for any decimal points.
My dataset is called “NEWinventoryDataset” and the field containing the price is called “ourPrice”, and this all connects to “repeaterInventory”.
The page us currently sitting on a testing URL https://www.401test.com/new-rvs
Any help would be appreciated!