Implicit conversion from float
to int
when using getPrayTime()
method
#70
Labels
bug
Something isn't working
float
to int
when using getPrayTime()
method
#70
When using
$arabic->getPrayTime()
, I got this warning.I think this is because these 3 lines:
As php documentation says "Operands of modulo are converted to int before processing. For floating-point modulo, see
fmod()
"Arithmetic Operators
We can use
fmod()
functionfmod
The text was updated successfully, but these errors were encountered: