Plugin

EE 1
EE 2
Number Format

Developer

Robert Wallis

3rd Party (Free)

Creative Commons Attribution Download v1.0

Compatibility

  • LG Addon Updater
  • Multi Site Manager
  • Stand Alone Entry Form

Requirements

  • jQuery for the Control Panel

Tags

Exposes PHP's number_format() function via EE tags.

You can read more about PHP’s number_format function here.

{exp:number_format number="1234.56"}

returns: 1,235

{exp:number_format number="1234.56" 
decimals="2" dec_point="." thousands_sep=","}

returns: 1,234.56

Works in three ways.

  1. Number as a paramater: {exp:number_format number=“1234” decimals=“2”}
  2. Number as tag content: {exp:number_format decimals=“2”}1234{/exp:number_format}
  3. Number as a publish filter: Setup in the control panel.

Download Number Format

EE Version Downloads Add-On Version Release Date
2.+ Download 1.0 2010-09-29 12:00 AM
1.x Download 1.0

Number Format Links

This entry was last updated September 28, 2010, 7:51 am.

Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. Devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!

There are no reviews for this add-on yet.

What are you waiting for? Rate it and review it!