Update howManyTimes.md

This commit is contained in:
Rohit Tanwar
2018-01-03 18:46:16 +05:30
committed by GitHub
parent 9b28bacb5e
commit edcb375377

View File

@ -1,6 +1,6 @@
### howManyTimes
Returns the number of times `num` can be divided by `divisor` without getting a fractional answer. Works for both negative and positive integers.`divisor` can be positive too.
Returns the number of times `num` can be divided by `divisor` without getting a fractional answer. Works for both negative and positive integers.`divisor` can be fractional too.
If `divisor` is `-1` or `1` returns `Infinity`.
If `divisor` is `-0` or `0` returns `0`.
``` js