comp.lang.ada
 help / color / mirror / Atom feed
From: "David C. Hoos, Sr." <david.c.hoos.sr@ada95.com>
To: <comp.lang.ada@ada.eu.org>
Cc: <beau@hiwaay.net>, <doug.hilton@engineer.com>
Subject: Re: question about printing numbers on screen
Date: Fri, 6 Jul 2001 16:41:55 -0500
Date: 2001-07-06T16:41:55-05:00	[thread overview]
Message-ID: <mailman.994455728.10308.comp.lang.ada@ada.eu.org> (raw)
In-Reply-To: tk9rc9cc5cdk6a@corp.supernews.com

If your compiler supports Annex F, then you can use
the Edited Output package described in RM95, F.3.

The packages available are Text_IO.Editing,, and
Wide_Text_IO.Editing.  The types of data must be
Decimal types -- i.e., modular types with a 'Small
attribute which is an integer power of 10.


----- Original Message ----- 
From: "Beau" <beau@hiwaay.net>
Newsgroups: comp.lang.ada
To: <comp.lang.ada@ada.eu.org>
Sent: July 05, 2001 5:42 PM
Subject: question about printing numbers on screen 


> How would I print an integer variable on the screen whose number was in the
> thousands
> say 10000 but have it print like this:
> 
> 10,000
> 
> how would I put in the comma to seperate?
> --
> ~Beau~
> beau@hiwaay.net
> 
> 
> 
> _______________________________________________
> comp.lang.ada mailing list
> comp.lang.ada@ada.eu.org
> http://ada.eu.org/mailman/listinfo/comp.lang.ada
> 




      parent reply	other threads:[~2001-07-06 21:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-05 22:42 question about printing numbers on screen Beau
2001-07-05 23:50 ` B. Douglas Hilton
2001-07-06  0:26 ` tmoran
2001-07-06  2:41 ` wzm
2001-07-06 21:41 ` David C. Hoos, Sr. [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox