percent

fun percent(value: Int): Ratio
fun percent(value: Long): Ratio

Creates a Ratio instance from the given value as a percentage.


fun percent(value: Double): Ratio

Creates a Ratio instance from the given value expressed as a percentage.