|
|
Description |
|
The v_ is the prefix of an attribute. This prefix defines variable values of parameters inside the formatting attribute. All the attributes' prefixes beginning with the characters "c_" and "v_" are reserved for use in the dwu function. |
|
Examples |
|
Standard, Build-in Library ============================================== dwu - decimal with unit formats decimal value as number with given precision and unit ---------------------------------------------- c_/v_precision [int, default 2] c_/v_unit [string, default ""] ---------------------------------------------- <text input='Price'> 12345.67 constant values <text input='Quantity' function='dwu' c_precision='3' c_unit='kg'> 12 345,678 kg values read from database <text input='this.Price' function='dwu' v_precision='document.Currency.Precision' v_unit='document.Currency.Code'> 12 345,67 EUR ============================================== in_words - money amount written in words for now supported only combination [currency=PLN and culture=PL] ---------------------------------------------- c_/v_currency [string, default "PLN"] c_/v_culture [string, default "PL"] ============================================== <text input='Value' function='in_words' c_currency='PLN' c_culture='PL'> where Value = 123 PLN result is "sto dwadzieścia trzy złote" ============================================== date_in_words - date written in words ---------------------------------------------- c_/v_culture [string, default "PL"] <text input='IssueDate' function='date_words' c_culture='EN'> where IssueDate = '2020-01-14' result is 2020-01-14 |
|
|
|
|
|