AreaUnit

open class AreaUnit(val metersSquaredPerUnit: Double, val symbol: String) : UnitOfMeasure, Comparable<AreaUnit> (source)

Represents a unit of Area measurement.

See also

Constructors

Link copied to clipboard
constructor(metersSquaredPerUnit: Double, symbol: String)

Properties

Link copied to clipboard

Conversion factor from this unit to square meters.

Link copied to clipboard
open override val symbol: String

The symbol used to represent this unit.

Functions

Link copied to clipboard
operator override fun compareTo(other: AreaUnit): Int
Link copied to clipboard
open fun format(value: Double, decimalPlaces: Int = Int.MAX_VALUE): String

Formats a value with this unit's symbol.