toString

open override fun toString(): String(source)

Returns a string representation of this area in square meters.


fun toString(unit: AreaUnit = SquareMeters, decimalPlaces: Int = 2): String(source)

Returns a formatted string representation of this area.

Parameters

unit

The unit to display the area in.

decimalPlaces

The number of decimal places to display.