[Dev-C++] Rounding off Floating Point numbers
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Deepesh K. <dee...@gm...> - 2008-04-08 09:29:00
|
Hello, I would like to know if i have a value held in a float variable, how would I fix the value to one decimal place??? I'm using Dev C++ Ver. 4 ..I know that to fix a floating point number I first have to include the header <iomanip>, which i have already done.... I dont know wat to do next..Pliz Help... thanks. -- ---Deepesh Kapadia--- |