DecimalFieldDefinition..::..FormatNumericValue Method
Formats the numeric value.
Namespace:
RingSoft.DbLookup.ModelDefinition.FieldDefinitionsAssembly: RingSoft.DbLookup (in RingSoft.DbLookup.dll)
Syntax
public static string FormatNumericValue( string numericValue, string numberFormatString, DecimalFieldTypes decimalFieldType, int decimalCount, CultureInfo culture )
Public Shared Function FormatNumericValue ( _ numericValue As String, _ numberFormatString As String, _ decimalFieldType As DecimalFieldTypes, _ decimalCount As Integer, _ culture As CultureInfo _ ) As String
public: static String^ FormatNumericValue( String^ numericValue, String^ numberFormatString, DecimalFieldTypes^ decimalFieldType, int^ decimalCount, CultureInfo^ culture )
Parameters
- numericValue
- Type: String
The numeric value.
- numberFormatString
- Type: String
The number format string.
- decimalFieldType
- Type: RingSoft.DbLookup.ModelDefinition.FieldDefinitions..::..DecimalFieldTypes
Type of the decimal field.
- decimalCount
- Type: Int32
The decimal count.
- culture
- Type: CultureInfo
The culture.