EditWord class | QSYS API Reference Guide
Provides methods for applying edit word parameters to numeric values, including formatting and manipulating the output string based on specified patterns.
Namespace: ASNA.QSys.Runtime Assembly: ASNA.QSys.Runtime.dll
Inheritance: Object
Methods
Signature | Description |
---|---|
Apply(Decimal, Int32, Int32, String) | Applies Edit Word parameters. |
ApplyEditWord(String, String, Char, Char, Char, Boolean, Boolean) | Applies Edit Word. |
string Apply(decimal numeric, int decimals, int length, string editwordString)
Applies Edit Word parameters.
string Apply(decimal numeric, int decimals, int length, string editwordString)
Parameters
Type | Parameter name | Description |
---|---|---|
Decimal | numeric | Input numeric value. |
Int32 | decimals | Input number of decimals. |
Int32 | length | Input length |
String | editwordString | EditWord string. |
Returns
Type | Description |
---|---|
String | Formatted value as string. |
string ApplyEditWord(string editwordString, string valueString, char decimalPoint, char thousandSeparator, char currencySymbol, bool printCurrencySymbol, bool isFloatCurrencySymbol)
Applies Edit Word.
string ApplyEditWord(string editwordString, string valueString, char decimalPoint, char thousandSeparator, char currencySymbol, bool printCurrencySymbol, bool isFloatCurrencySymbol)
Parameters
Type | Parameter name | Description |
---|---|---|
String | editwordString | Edit Word. |
String | valueString | Value. |
Char | decimalPoint | Decimal point symbol. |
Char | thousandSeparator | Thousands separator symbol. |
Char | currencySymbol | Currency symbol. |
Boolean | printCurrencySymbol | Print currency symbol. |
Boolean | isFloatCurrencySymbol | (Not used). |
Returns
Type | Description |
---|---|
String | The value string edited according to the given edit word. |