Skip to content

aab786eb b62c e9fe 5cf6 9af94f46a54e

Axel Kesseler edited this page Oct 3, 2019 · 2 revisions

CapacityConverter.Convert Method (Decimal, Int32)

Converts provided value into its string representation.

Namespace: Plexdata.Converters
Assembly: Plexdata.CapacityConverter (in Plexdata.CapacityConverter.dll) Version: 1.0.1

Syntax

C#

public static string Convert(
	decimal value,
	int decimals
)

Parameters

 

value
Type: System.Decimal
The value to be converted.
decimals
Type: System.Int32
The number of decimal digits used for calculation.

Return Value

Type: String
The string representation of converted value.

Remarks

This method converts provided value into its string representation by finding the best fitting capacity entity and using it to format provided value afterwards.

See Also

Reference

CapacityConverter Class
Convert Overload
Plexdata.Converters Namespace
CapacityConverter.Find(Decimal)

Clone this wiki locally