FormatsNumberPattern Method
Gets the formatting pattern to represent numeric value based on the indicated parameters.
Namespace: Aliquo.CoreAssembly: Aliquo.Core (in Aliquo.Core.dll) Version: 5.0.9179.22651
public static string NumberPattern(
int decimals = 2,
bool thousandsSeparator = true,
bool withoutZero = false,
bool withoutDecimalZeros = false
)
Public Shared Function NumberPattern (
Optional decimals As Integer = 2,
Optional thousandsSeparator As Boolean = true,
Optional withoutZero As Boolean = false,
Optional withoutDecimalZeros As Boolean = false
) As String
- decimals Int32 (Optional)
- Number of decimals to represent.
- thousandsSeparator Boolean (Optional)
- Indicates whether it is formatted with a dot in the thousands.
- withoutZero Boolean (Optional)
- Indicates whether zero should be displayed.
- withoutDecimalZeros Boolean (Optional)
- Indicates whether zeros are represented in decimals.
StringString with the format to represent number.