Format Number API 6.x-1.6
File ID: 97888
Format Number API 6.x-1.6 Description
Description: The Format Number API module provides a method to configure number formats (site default and user defined) with configurable decimal point and thousand separators.
Since 6.x-1.6: This module also provides the 'numericfield' Forms API element, which is a right aligned text input element that allows the user enter numbers using the configured thousands separator and decimal point (site default or user defined). This Forms API element provides a validation callback that is used automatically and that ensures input is valid numeric as per the options defined for the element.
This module does not add any other functionality by itself, rather it might be required by other contributed or custom modules. Modules using this API: Cache browser, Formatted Number CCK, Money CCK field, Measured Value Field, Referential Integrity for CCK.
- PHP manual: number_format().
- Unicode Locale Data Markup Language (LDML).
- Unicode CLDR Project: Common Locale Data Repository (CLDR).
- CLDR By-Type Chart: number.symbol.
- Wikipedia: Decimal separator.
Related: Module, Defined, Element, numbers, Input, Custom, Locale, Unicode, Modules, Forms, separator, contributed, default, Number, Point, decimal, Scripts, Format, Api, number api
O/S:BSD, Linux, Solaris, Mac OS X
File Size: 20.5 KB
|More Similar Code|
The Formatted Number CCK module defines numeric types where thousands separator and decimal point are inherited from the Format Number API module.
Numeric types supported: signed or unsigned integers (tiny, small, medium, int), decimal and float.
Builtin integration support for: Views, Diff, Token.
Additional field formatters
You can easily add additional formatters adding the following...
The 'London Comedy Gigs' plugin will display a constantly updating list of comedy gigs in the capital, with all the big name comedians, little stand-up shows and West End theatre runs.
The listing will include a title, description and...
A function to convert a number to a more readable format by adding thousands separators.
This very simple function lets you choose the thousands separator character and the number of decimal spaces to return. Any character (including...
For many languages it is possible to use the locale module to format numbers. But there are at least three languages for which the locale.localeconv()['thousands_sep'] is empty: brazilian portuguese - 'pt_br', portuguese - 'pt' and spanish -...
FLAC stands for Free Lossless Audio Codec, an audio format similar to MP3, but lossless, meaning that audio is compressed in FLAC without any loss in quality.
This is similar to how Zip works, except with FLAC you will get much better...
M-file that calculate weeknumber based on a date. Date can be given as scalar or a vector. Datevalues can also be provided as textvalues, but then must a second variable describing the that format also be read in.
In addtion can a third...
Note: the D7 version of this module is currently being heavily refactored and is not yet suitable for production use.
Storage API is a framework for enterprise-level file storage and serving / streaming.
It has the following...
This program displays the contents of a matrix in a newly-generated Matlab figure for easy viewing and printing. The figure size, font size, and cell size are all sized according to both screen size and matrix size. Includes options for displaying...
The 'London Events Guide' plugin will display a constantly updating list of events on whichever page you like. It has also been widgetized for drag-and-drop use on your sidebar.
There are eleven different categories of events to choose...
The 'London Music Concerts' plugin will display a constantly updating list of concerts and gigs taking place in the capital. All of the big venues are included: O2 Arena, O2 Empire, Wembley Arena, Roundhouse, HMV Forum, Hammersmith Apollo, Royal...
|User Review for Format Number API