Feb 15, 2002 #1 marble Programmer Mar 17, 2001 22 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
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
Feb 17, 2002 #2 TGM IS-IT--Management Mar 14, 2001 141 BE Hi Look at the function modf. It handles all your needs HTH Thierry EMail: Thierry.Marneffe@swing.be WebSite: http://users.swing.be/TGMSoft/ Upvote 0 Downvote
Hi Look at the function modf. It handles all your needs HTH Thierry EMail: Thierry.Marneffe@swing.be WebSite: http://users.swing.be/TGMSoft/