Assinging values to type float
Douglas M. MacFarlane
RHMCSUPV at MIAMIU.BITNET
Tue Aug 28 15:34:15 AEST 1990
Excuse the novice question . . .
I'm new to C and liking it, but this puzzles me. I'm using Microsoft
C ver 5.1. When I assign a value to a float variable, I get a data-
conversion warning (with warning level 2 set). Why?
For example:
float fValue ; /* define fValue as a floating point variable */
other lines
fValue = 35 ; /* produces a Data Conversion warning at compile time */
Whasss Happening ????
Douglas M. MacFarlane
rhmcsupv at miamiu.acs.muohio.edu
More information about the Comp.lang.c
mailing list