comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: format integers with place separators
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: format integers with place separators [message #45779 is a reply to message #45772] Tue, 04 October 2005 08:43 Go to previous messageGo to previous message
Benjamin Hornberger is currently offline  Benjamin Hornberger
Messages: 258
Registered: March 2004
Senior Member
Benjamin Hornberger wrote:
> Ben Tupper wrote:
>
>>
>> Is it possible to format an integer using the format specifiers such
>> place separators are used? For example...
>>
>> 1234 becomes 1,234
>>
>> 1234567 becomes 1,234,567
>>
>> 123456789 becomes 123,456,789
>>
>
> I think it's not possible. I wrote my own function, see below. I used it
> only a couple times, hopefully it's to too buggy.
>

Of course I meant "hopefully it's *not* too buggy" :-).

Benjamin
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: HDF5 - Group or Dataset?
Next Topic: McIDAS Area to hdf

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 18:15:56 PDT 2025

Total time taken to generate the page: 0.00481 seconds