RingSoft.DbLookup Namespace
RingSoft.DbLookup.Controls.WPF.Properties Namespace
RingSoft.DbMaintenance Namespace

GblMethods..::..GetNumFormat Method

Gets the number format string to use in formatting numeric values.

Namespace:  RingSoft.DbLookup
Assembly:  RingSoft.DbLookup (in RingSoft.DbLookup.dll)

Syntax


public static string GetNumFormat(
	int decimals,
	bool isCurrency
)
Public Shared Function GetNumFormat ( _
	decimals As Integer, _
	isCurrency As Boolean _
) As String
public:
static String^ GetNumFormat(
	int^ decimals, 
	bool^ isCurrency
)

Parameters

decimals
Type: Int32
The number of digits to the right of the double point.
isCurrency
Type: Boolean
if set to true [is currency].

Return Value

A numeric format string.