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.


A Ratio equal to this Int number of percent.


A Ratio equal to this Long number of percent.


A Ratio equal to this Double number of percent.