rGeometric

open fun rGeometric(pSuccess: Double): Int

Return

the random value on range 0, 1, 2,...

Parameters

pSuccess

the probability of success, must be in (0,1)