Skip to content

ef9ab196 fb1a 6013 a5f3 e959503ba8c4

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

CapacityEntity.GetFormatter Method (NumberFormatInfo, Int32)

Returns a clone of provided formatter and adjusts its number of decimal digits accordingly.

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

Syntax

C#

private NumberFormatInfo GetFormatter(
	NumberFormatInfo formatter,
	int decimals
)

Parameters

 

formatter
Type: System.Globalization.NumberFormatInfo
The formatter to be cloned.
decimals
Type: System.Int32
The number of decimal digits to be used.

Return Value

Type: NumberFormatInfo
The derived and configured number formatter.

Remarks

This method returns a clone of provided formatter and adjusts its number of decimal digits accordingly. The provided number of decimal digits is limited to a range of [0..99].

See Also

Reference

CapacityEntity Class
GetFormatter Overload
Plexdata.Converters.Entities Namespace

Clone this wiki locally