bilangan real php mod

fmod(float $num1, float $num2): float

  //e.g.
  echo fmod(10.2, 10);//answer: 0.2