Questions tagged [number-format]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
2 answers
608 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, ...
user avatar
1 vote
1 answer
181 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/...
user avatar
  • 11
0 votes
1 answer
174 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 ...
user avatar
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="...
user avatar
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 ...
user avatar
  • 11
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 ...
user avatar
  • 2,347