+ 1
Does php have the interger division operator?
14 div 3 = 4. it is usualy called "div" in other languages. the idea is to know just the interger result of a division
3 Réponses
0
Well to get just the integer u can try this:-
(14 - (14%3))/3
0
u can parse the result in integer for example
(int)14/3
- 1
nope