On 8/4/2004 10:02 PM, [EMAIL PROTECTED] wrote:
Hi all,
I am doing conversions from square metres to square feet for example.
I have a regex that removes any commas or spaces in a number.
I then do the conversion
return an integer
but then want to display the number with the commas or spaces put bac
On Thu, 5 Aug 2004 [EMAIL PROTECTED] wrote:
but then want to display the number with the commas or spaces put back
in to make it easier to read.
What do you suggest?
Two minutes of Googling found dozens of suggestions.
This may be the best one:
How can I output my numbers with commas added?
T
Hi all,
I am doing conversions from square metres to square feet for example.
I have a regex that removes any commas or spaces in a number.
I then do the conversion
return an integer
but then want to display the number with the commas or spaces put back in
to make it easier to read.
What do
On Mon, 2 Jul 2001, Ralph Alberti wrote:
> Can somebody provide me with an example of how to format a number scalar
> into dollars?
>
> Do I need to use a module for this or can Perl handle this alone?
>
> I didn't see any functions like format();
perldoc -f printf
-- Brett
Can somebody provide me with an example of how to format a number scalar
into dollars?
Do I need to use a module for this or can Perl handle this alone?
I didn't see any functions like format();
Thanks, Ralph