Companion

object Companion

Functions

Link copied to clipboard
fun percent(value: Int): Probability
fun percent(value: Long): Probability

Creates a Probability instance from the given value in percents.

Link copied to clipboard

Creates a Probability instance from the given value in the unit range.