Skip to main content

Interface IUnit

Defines a standardized interface for unit value types that represent physical quantities.

Assembly: Meadow.Units.dll​
View Source​
Declaration
public interface IUnit

Methods​

ToCanonical()​

Converts the current unit value to its canonical unit representation.

View Source​
Declaration
double ToCanonical()
Returns​

System.Double: The value expressed in the canonical unit