- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The problem with non-standard formats like that is, that they are, well, non-standard. The specific format code would probably different from compiler to compiler and possibly even vary between compiler versions.
The simplest and most robust solution is to create a formatting function yourself that does this:
character(len=20) :: business_number
integer :: number
business_number = business_format( number )
This should not be too hard to do - just write the number to a string, using an internal write and then insert commas in the right place
(Note that there is standard support for decimal points versus commas)
Regards,
Arjen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Just to close on this - no, Intel Fortran does not support a "business" format edit descriptor. Arjen makes a good suggestion. In general I recommend avoiding non-standard features whenever possible,

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page