Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to get the demical portion of a double variable?

Status
Not open for further replies.

marble

Programmer
Mar 17, 2001
22
0
0
CA
Hi,
I am new to C++ and have the following question...

How can I retreive the decimcal portion of a double variable...

double dollars = 10.50;

I checked the FAq's and could not find anything, please help...

Thnakyou,

Marble
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top