Gets the number format string to use in formatting numeric values.
Namespace:
RingSoft.DbLookup
Assembly:
RingSoft.DbLookup (in RingSoft.DbLookup.dll)
public static string GetNumFormat(
int decimals,
bool isCurrency
)
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.