getFormattedArea

Creates a LocalizedString that contains a text with an area

Parameters

squareMeters
the area in m²

fun getFormattedArea(squareMeters: Double, unitValue: Double, precision: Int, tailingFractionZeros: Boolean): LocalizedString

Creates a LocalizedString that contains a text with an area

Parameters

squareMeters
the area in m²
unitValue
factor that determines the technical postfix (1=m², 1000000=km², 0.000001=mm², ...).
For automatic selection, pass the same value as for `squareMeters`.
precision
see  [LocalizedStringNumber.precision]
tailingFractionZeros
see [LocalizedStringNumber.tailingFractionZeros]