Questions tagged [number-format]
The number-format tag has no usage guidance.
6
questions
2
votes
2
answers
609
views
Can you override decimal places for Expresso Store price variables in the templates?
Expresso Store lets you determine your price decimal places globally. So even if you generally price things as whole dollars ($125.00), it's likely you'll need to set your display to 2 decimal places, ...
1
vote
1
answer
183
views
Formatting number from the hit counter (how to add comma)
I need to display the number of visitors to a website on the homepage, and I'm wondering if there is a way to add formmating to the number output by the {hits} variable. http://ellislab.com/...
0
votes
1
answer
176
views
Quick questions on importing data using datagrab
I'm going to be importing some info using DataGrab for about 700 entries (on this site an entry is a construction project). One of the fields is a number that shows the cost of the project. On the ...
1
vote
1
answer
59
views
How to get order to go 1, 2, 3, 4... rather than 1, 10, 11, 12, 2, 3, 4
I'm sure this is a simple one, but it's got me stumped so I'd appreciate your thoughts. Here goes...
I'm displaying a selection of images
The order of these images is controlled by using orderby="...
1
vote
2
answers
92
views
Decrementing a field value in an Events channel when a form is submitted
I was wondering if anyone can help me. I've got an events channel with a 'number of places available' number field, which users uploading an event populate with how many spaces they have available for ...
1
vote
2
answers
264
views
{exp:number_format} not working on some pages
I have a snippet
{exp:number_format number="{price}" decimals="2" dec_point="." thousands_sep=","}
I use this snippet in two pages.
The weird thing about this is that in one page, it outputs ...