note 75301 modified in ref.strings by tularis

From: Date: Fri, 25 May 2007 23:03:23 +0000
Subject: note 75301 modified in ref.strings by tularis
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-126921@lists.php.net to get a copy of this message
[Editor's Note: Remember that number names are locale-specific. Thus in the US 1,000,000,000 is called a billion, while in other countries this might be different (ie. miljard in Dutch). This function provides support only for the US locale] If you want to convert a number, (int or float) to full spoken text, then you can use my num2text converter, at http://bloople.net/num2text Examples: 40000 => forty thousand 1,796,706 => one million, seven hundred and ninety-six thousand, seven hundred and six. If works for positive an negative integers/floats/doubles. The code is only a page long, and you don't have to install any modules or anything. I hope this comes in handy for somebody! --was-- If you want to convert a number, (int or float) to full spoken text, then you can use my num2text converter, at http://bloople.net/num2text Examples: 40000 => forty thousand 1,796,706 => one million, seven hundred and ninety-six thousand, seven hundred and six. If works for positive an negative integers/floats/doubles. The code is only a page long, and you don't have to install any modules or anything. I hope this comes in handy for somebody! http://php.net/manual/en/ref.strings.php

« previous php.notes (#126921) next »