| delorie.com/archives/browse.cgi | search |
| From: | Endlisnis <s257m AT unb DOT ca> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: (none) |
| Date: | Wed, 8 Jul 1998 23:15:32 -0300 |
| Organization: | University of New Brunswick |
| Lines: | 11 |
| Message-ID: | <Pine.SOL.3.96.980708231444.1979A-100000@sol.sun.csd.unb.ca> |
| References: | <199807082216 DOT RAA10871 AT cue DOT satnet DOT net> |
| NNTP-Posting-Host: | sol-alt1.unb.ca |
| Mime-Version: | 1.0 |
| In-Reply-To: | <199807082216.RAA10871@cue.satnet.net> |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
On Wed, 8 Jul 1998, Ronald Patino G. wrote: ->Is there a function to round a number with decimals -> ex, 23.123123123 float z=23.123123123; int x = (int)(z+.5); That will round z, and put the value in x; Endlisnis [I have a pyramid of wingyness]
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |