Message: 21
Date: Fri, 13 Jan 2006 15:40:10 -0800
From: Marty Knapp <[EMAIL PROTECTED]>
Subject: Formatting numbers
To: Revolution User List
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Does somebody have a suggestion for formatting
Thanks to Gregory, Jim and Peter on my comma insertion question - three
great solutions! This is a great list.
Marty Knapp
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
006 15:40:10 -0800
From: Marty Knapp <[EMAIL PROTECTED]>
Subject: Formatting numbers
To: Revolution User List
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Does somebody have a suggestion for formatting numbers with commas
for a
printed r
tion + 1 to -1 of pValue into pValue
subtract 3 from tSeparatorPosition
end repeat
return pValue
end AddNumberSeparator
At 05:40 PM 1/13/2006, you wrote:
Does somebody have a suggestion for formatting numbers with commas
for a printed report? It wil have columns of data, with numbers
ran
On 1/13/06 3:40 PM, "Marty Knapp" <[EMAIL PROTECTED]> wrote:
> Does somebody have a suggestion for formatting numbers with commas for a
> printed report?
--Try this ... using recursion (a func calling itself repeatedly) :-)
-
SeparatorPosition
end repeat
return pValue
end AddNumberSeparator
At 05:40 PM 1/13/2006, you wrote:
Does somebody have a suggestion for formatting numbers with commas for a
printed report? It wil have columns of data, with numbers ranging from
small to large. The larger ones are hard to read
Does somebody have a suggestion for formatting numbers with commas for a
printed report? It wil have columns of data, with numbers ranging from
small to large. The larger ones are hard to read, so I'd like to insert
commas at the appropriate places. I can think of clunky ways to do it,