if the result is 74.55555555555 then how could i change it in to 74 ..any function ??
hi tabish,
you should use type casting $i=1.555; $k=(int)$i;
now $k will contain 1
hope this will help
regards subrata
Use the floor() function.