Show / Hide Table of Contents

Interface IPrefixMultiple

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

Namespace: Cuemon
Assembly: Cuemon.Core.dll
Syntax
public interface IPrefixMultiple

Properties

| Improve this Doc View Source

Multiplier

Gets the unit prefix multiplier.

Declaration
double Multiplier { get; }
Property Value
Type Description
Double

The unit prefix multiplier.

| Improve this Doc View Source

Name

Gets the name of the unit prefix.

Declaration
string Name { get; }
Property Value
Type Description
String

The name of the unit prefix.

| Improve this Doc View Source

Symbol

Gets the symbol of the unit prefix.

Declaration
string Symbol { get; }
Property Value
Type Description
String

The symbol of the unit prefix.

Methods

| Improve this Doc View Source

ToBaseValue(Double)

Converts the prefixValue back to a unit base value.

Declaration
double ToBaseValue(double prefixValue)
Parameters
Type Name Description
Double prefixValue

The value of the unit prefix.

Returns
Type Description
Double

A Double that represents a unit base value.

| Improve this Doc View Source

ToPrefixValue(Double)

Converts the unit base value to a unit prefix value.

Declaration
double ToPrefixValue(double value)
Parameters
Type Name Description
Double value

The value of the base unit.

Returns
Type Description
Double

A Double that represents a unit prefix value.

See Also

BinaryPrefix
DecimalPrefix
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright 2008-2022 Geekle. All rights reserved. Code with passion and love; deploy with confidence. 👨‍💻️🔥❤️🚀😎
Generated by DocFX