Subj : Re: problem due to localization of decimal representation of number To : comp.programming From : Davinder Date : Mon Oct 03 2005 11:40 pm I just verified the same sample program on localised machine. it is working fine. Can it be due to CORBA native charset?? But if yes, then neither I am using any CORBA datatypes nor CORBA plays any role is data conversion and console printing. Davinder wrote: > Hello, > Environment is : > > Platform: Windows > Sample code is: > > int a = 10, b = 9; > double c; > c = a/b; > printf("%.2f", c); > > My application uses CORBA. But I am getting problem in simple division. .