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 / 976
975  |  977
Subject: 
Re: Integer -> float
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Wed, 20 Nov 1996 15:40:00 GMT
Original-From: 
silvain pinot <PINO1107@ihatespamEUROBRETAGNE.FR>
Viewed: 
457 times
  
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 has 1 Reply:
  Re: Integer -> float
 
Oops! That should be: f=(float)i; That's what happens when you stay up too late. :-) - Prabal (...) (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