Skip to content

9eba35ec d51a ca27 b8d5 03bc32c3bc4c

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

CapacityEntity.Format Method (Decimal, Int32, Boolean)

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,
	int decimals,
	bool calculate
)

Parameters

 

value
Type: System.Decimal
The value to be formatted.
decimals
Type: System.Int32
The number of decimal digits to be used for calculation.
calculate
Type: System.Boolean
True to force a result calculation, otherwise false.

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