To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.handyboardOpen lugnet.robotics.handyboard in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / Handy Board / 977
976  |  978
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:
  Re: Integer -> float
 
(...) Are you sure about this? In your example, i is the float and f the integer. Silvain (28 years ago, 20-Nov-96, to lugnet.robotics.handyboard)

2 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR