perc

infix inline fun <T : Number> T.perc(percentage: T): Double

Calculate percentage of this value.

Example:

199 perc 24 // (24 * 199) / 100 = 47.76

Since

1.1.0