Can someone please help me I am getting a number like
"19.47582" and I only
need "19.47"
typedef struct
{
double price;
....
} Details;
Details RestartPrep;
static void nextYear()
{
RestartPrep.price = RestartPrep.price +
RestartPrep.price * .075;
}
Please help me out
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/