contracts / kotlin.String

Extensions for kotlin.String

percent val String.percent: PercentageRatioUnit

For the convenience of writing "5".percent Note that we do not currently allow 10.percent (ie no quotes) as this might get a little confusing if 0.1.percent was written TODO: Discuss