Skip to content

8824240a ce2f 9ed0 6f4a 3e1d40e4fdf3

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

CapacityEntity.Format Method (Decimal, String)

Formats provided value according to current settings.

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

Syntax

C#

public string Format(
	decimal value,
	string unit
)

Parameters

 

value
Type: System.Decimal
The value to be formatted.
unit
Type: System.String
The unit to be appended.

Return Value

Type: String
The string representation of formatted value.

Remarks

This method formats provided value according to current settings.

See Also

Reference

CapacityEntity Class
Format Overload
Plexdata.Converters.Entities Namespace
CapacityEntity.Format(Decimal, String, Int32, Boolean, Boolean, NumberFormatInfo)

Clone this wiki locally