Subject:
|
Re: Integer -> float
|
Newsgroups:
|
lugnet.robotics.handyboard
|
Date:
|
Wed, 20 Nov 1996 19:30:14 GMT
|
Original-From:
|
Prabal Dutta <dutta@cis.#AvoidSpam#ohio-state.edu>
|
Viewed:
|
424 times
|
| |
| |
Oops! That should be: f=(float)i;
That's what happens when you stay up too late. :-)
- Prabal
>
> > Hi Micah,
> >
> > To convert an int to a float, simply type:
> > i=(float)f;
> >
> > where i is the integer and f is a float.
> >
> > - Prabal
>
>
> Are you sure about this?
> In your example, i is the float and f the integer.
>
> Silvain
>
|
|
Message is in Reply To:
2 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|