Calculate mod in php

Asked

Viewed 445 times

4

How can I calculate 15,625 mod 23 only in PHP?

I searched on google and other sources and did not succeed in my search, could give me more information?

  • 4

    http://answall.com/a/704/101

  • 2

    You need the mod result as integer or as float?

  • Thanks @bigown

1 answer

4

You must do so:

echo 15.625 % 23;

Source

Browser other questions tagged

You are not signed in. Login or sign up in order to post.