Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!pacific.mps.ohio-state.edu!ohstpy!miavx1!miamiu!rhmcsupv From: RHMCSUPV@MIAMIU.BITNET (Douglas M. MacFarlane) Newsgroups: comp.lang.c Subject: Assinging values to type float Message-ID: <90240.003415RHMCSUPV@MIAMIU.BITNET> Date: 28 Aug 90 05:34:15 GMT Organization: Miami University - Academic Computer Service Lines: 19 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@miamiu.acs.muohio.edu