C++

Please support our C++ advertiser: Intel Parallel Studio Home
Closed Thread

Join Date: Oct 2009
Posts: 6
Reputation: James19142 is an unknown quantity at this point 
Solved Threads: 0
James19142 James19142 is offline Offline
Newbie Poster

C++

 
-1
  #1
Oct 2nd, 2009
What is a float value
Quick reply to this message  
Join Date: Sep 2009
Posts: 47
Reputation: tkud is an unknown quantity at this point 
Solved Threads: 10
tkud tkud is offline Offline
Light Poster

Re: C++

 
0
  #2
Oct 3rd, 2009
A float value is a data type that stores decimals.i.e. numbers that have decimal points e.g 78.90,1.50,4.89,etc.
An example of declaring a float value is this:
float number=0.0;

When initialising float variables, it's good to use 0.0(not that it's compulsory,anyway).

Hope this helped!!
Quick reply to this message  
Join Date: Apr 2006
Posts: 5,051
Reputation: John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold 
Solved Threads: 332
Team Colleague
John A's Avatar
John A John A is offline Offline
Vampirical Lurker

Re: C++

 
0
  #3
Oct 3rd, 2009
"Technological progress is like an axe in the hands of a pathological criminal."
Quick reply to this message  
Closed Thread

Message:



Other Threads in the C++ Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC