Re: Developer 2000: How format commas into variable-length number?

From: John Haskins <76054.334_at_compuserve.com>
Date: Thu, 17 Dec 1998 20:24:45 -0800
Message-ID: <75clck$12r$1_at_news-2.news.gte.net>


Thanks. I realized after a successful test of your answer that I was reading the docs on how the "9" format character is interpreted for text fields, not numbers. Duh!

I also tested the "NNN,NNN,NNN,NNN.00" you sent under a separate message, and that caused compilation to fail.

Thanks for the tip.

Alex J wrote in message <75cb6u$bu6g$1_at_newssvr04-int.news.prodigy.com>...
>"999,999,999,999.00"
>
>John Haskins <76054.334_at_compuserve.com> wrote in message
><75c07b$dhr$1_at_news-1.news.gte.net>...
>>I want to set a format mask with commas for a number field whose contents
>>will vary in length. The only comma formatting example given in the Dev2K
>>docs shows "9,999", which requires that the number be exactly four digits
>>long. Surely there is a way to format a field so that no matter what the
>>length of the number, it is displayed with commas between thousands,
>>millions, etc.? Can anyone help out with this?
>>
>>Thanks.
>>
>>
>
>
Received on Fri Dec 18 1998 - 05:24:45 CET

Original text of this message