unit

property Surface.unit: str

Symbol of the unit of measurement for surface. It must be a str. Available units are:

  • 'm^2' for square meter,

  • 'dm^2' for square decimeter,

  • 'cm^2' for square centimeter,

  • 'mm^2' for square millimeter.

Returns

str

Symbol of the unit of measurement for surface.

Raises

TypeError

If unit is not a str.

KeyError

If the unit is not among available ones.