Team,
I have one doubt that we should mention one value in floating while using division method.for example : 22.0/7 or 22/7.0 to avoid truncate problem.. But in compound coding case we mentioned as i=r/100;
if r=15 then it truncate to integer or we need to mention reciprocal 100 in float.. please clarify..
694
0
148
Support Team
25-Jun-22
Dear sir,
We declare r as a float. So it is automatically replaced as a floating number at the time of calculation. Hope you understand. Thanks.