I have my two string values in floats now but using the following code
FlpCompDouble tempFloat; tempFloat.fd = FlpAToF(rec->fiber); RestartPrep.YellowCarbFiber = tempFloat.d; tempFloat.fd = FlpAToF(rec->carb); RestartPrep.YellowCarb = tempFloat.d; Now I have two new questions. Why dont the following code work?? GreenCarbFiber = "0.5" and YellowCarbFiber = "0.0" but fiberTotal eq 2.867337e-41 float fiberTotal = RestartPrep.GreenCarbFiber + RestartPrep.YellowCarbFiber; > > > __________________________________________________ > Do You Yahoo!? > Send FREE video emails in Yahoo! Mail! > http://promo.yahoo.com/videomail/ > __________________________________________________ Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
