I am trying to achieve a division in PHP but it is not giving me the correct answer. My try is:
$a = 0.09;
$b = 2505;
$res = $a/$b;
which is giving me ‘3.5928143712575E-5’ answer in PHP while this is not the exact answer.
How to achieve the right answer?