Table of Contents

IPrefix Interface

Definition

Namespace
Codebelt.Unitify
Assemblies
Codebelt.Unitify.dll
Source
src/Codebelt.Unitify/IPrefix.cs

Defines a unit prefix that can can be expressed as either a multiple or a submultiple of the unit of measurement.

public interface IPrefix
Extension Methods

Properties

Name Description
Base

Gets the number to be raised of the unit prefix.

Exponent

Gets the exponent of the unit prefix.

Multiplier

Gets the unit prefix multiplier.

Name

Gets the name of the unit prefix.

Symbol

Gets the symbol of the unit prefix.

Methods

Name Description
ToBaseValue(double)

Converts the prefixValue back to a unit base value.

ToPrefixValue(double)

Converts the unit base baseValue to a unit prefix value.

See Also