+ 1
the answer of 14.5%19 is 14.5 but in php the answer won't be a float and it shows 14 instead. Can I do sth to have 14.5?
2 Answers
+ 2
You can use fmod() method. Please look at the code. Hope it helps you đ
https://code.sololearn.com/wPzx83q25y3O/?ref=app
0
It works, thanks for your helpđ