double with precision
- From: "Roy Gourgi" <royng@xxxxxxxxxxxx>
- Date: Wed, 27 Jun 2007 17:49:02 -0400
Hi,
I would like to save my double variable with a precision of 2 decimal
places.
For example the double x = 1.7358
I would like x = 1.73 or 1.74 (rounded)
How would I do that.
TIA
Roy
.
- Follow-Ups:
- Re: double with precision
- From: Roy Gourgi
- Re: double with precision
- From: Eric Sosman
- Re: double with precision
- Prev by Date: Re: Removing blanks spaces
- Next by Date: Re: double with precision
- Previous by thread: Removing blanks spaces
- Next by thread: Re: double with precision
- Index(es):