factorial

fun Int.factorial(): Int

computes the factorial of the receiver integer.

Return

Int

Throws

fun Long.factorial(): Long

computes the factorial of the receiver integer.

Return

Long

Throws