Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
Taxi App Development 7.3
RentALL-Airbnb clone script 1.8.0
VisualNEO Web 19.4.5
PHP Ecommerce Script 1.3.2
dbForge Studio for PostgreSQL 2.1
Rentonn - Airbnb clone 1.0
VisualNEO for Windows 18.08.31.0
SentiVeillance SDK Trial 7.0.191272
dbForge SQL Complete 6.1
Uber for E-Scooters 1.0
ODBC Driver for MySQL 2.4
dbForge Schema Compare for MySQL 4.4
dbForge Studio for MySQL 8.1
dbForge Query Builder for MySQL 4.4
dbForge Data Compare for MySQL 5.5
Top Code
MATLAB Support Package for Arduino (aka ArduinoIO Package) 1.0
Taxi App Development 7.3
Online Vacation Rental Booking Website Script 4.3.0
Library Management System 1.0
PHP Ecommerce Script 1.0.4
Beremiz 1.0
OptimPID: an optimal PID controller design interface 1.0
GnuWin64 64
Java-2-Pseudo 1.0
Online Book Rental System
Azizi search engine script PHP 4.1.10
Faculty Evaluation System 1.1
MLM Software ONE 1.5.46
RentALL-Airbnb clone script 1.8.0
HTML::Lint 1.21
Top Rated
Paste phpSoftPro 1.4.1
Deals and Discounts Website Script 1.0.2
ADO.NET Provider for ExactTarget 1.0
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Availability Booking Calendar PHP 1.0
PHP GZ Blog Script 1.1
ATN Jobs Software 4.0
ATN Mall 2.0
Format Number API 6.x-1.6
File ID: 97888






Format Number API 6.x-1.6
Download Format Number API 6.x-1.6http://drupal.orgReport Error Link
License: Freeware
File Size: 20.5 KB
Downloads: 9
Submit Rating:
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.

Several functions are exposed by the module that can be used by other contributed or custom modules to display numbers accordingly, from PHP and javascript as well. For further information, please see the README.txt.

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.
External references

- 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.

License: Freeware

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

Downloads: 9



More Similar Code

Overview

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
- required fields
     

Please enter text on the image