get_m2 (method)

get_m2(self, value)[source]

Convert the value the correct m² unit (to display in GUI)

Parameters:
  • self (Unit) – A Unit object
  • value (float) – Value to convert
Returns:

value – Value in the current unit

Return type:

float