Subj : sprintf() problem ? To : borland.public.cpp.borlandcpp From : "Olivier" Date : Thu Jul 10 2003 07:22 pm I'm working with double variable, i use the following function " sprintf(tmp,"Total=%18.2f",x+y+z-a+(h+i)); " and sometimes the result is 1.538980871324389050000000000000000000000e+120 if the correct result is 237200. What could be happen ? Did I make a big mistake ? thanks for your help. .