pluralize

fun Number.pluralize(unit: String): String

Create a string with a number and its respective singular/plural unit string.

Parameters

unit

The unit string applied to this number.