Table of Contents

Interface IConverter

Namespace
xFunc.Maths.Expressions.Units.Converters
Assembly
xFunc.Maths.dll

The interface for unit converter.

public interface IConverter

Methods

Convert(object, string)

Converts value to specified unit.

object Convert(object value, string unit)

Parameters

value object

The value to convert.

unit string

The unit to convert to.

Returns

object

The converter value.