template::util::currency::create (public)
template::util::currency::create [ leading_symbol ] [ whole_part ] \ [ separator ] [ fractional_part ] [ trailing_money ] [ format ]
Defined in packages/acs-templating/tcl/currency-procs.tcl
Create a currency form element.
- Parameters:
- leading_symbol (optional)
- The leading symbol for the currency format (default: "$")
- whole_part (optional)
- The number of digits in the whole part of the value (default: 5)
- separator (optional)
- The character the separates the whole part from the fractional part (default ".")
- fractional_part (optional)
- The number of digits allowed in the fractional part of the value (default: 2, i.e. US Pennies)
- trailing_money (optional)
- For those currencies that use a trailing rather than leading character in their normal representation
- format (optional, defaults to
"$ 5 . 2"
)- The actual format to use in list form
- Returns:
- The parameters joined in a six-element list
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.