comp.lang.ada
 help / color / mirror / Atom feed
From: "B. Douglas Hilton" <doug.hilton@engineer.com>
Subject: Re: question about printing numbers on screen
Date: Thu, 05 Jul 2001 19:50:37 -0400
Date: 2001-07-05T19:50:37-04:00	[thread overview]
Message-ID: <3B44FD4D.4297C847@engineer.com> (raw)
In-Reply-To: tk9rc9cc5cdk6a@corp.supernews.com

Use the modulus operation and a switch to format your IO.

- Doug


Beau wrote:

> 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




  reply	other threads:[~2001-07-05 23:50 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 [this message]
2001-07-06  0:26 ` tmoran
2001-07-06  2:41 ` wzm
2001-07-06 21:41 ` David C. Hoos, Sr.
replies disabled

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