lc_numeric (public)

 lc_numeric num [ fmt ] [ locale ]

Defined in packages/acs-lang/tcl/localization-procs.tcl

Given a number and a locale return a formatted version of the number for that locale.

Parameters:
num (required)
Number in canonical form
fmt (optional)
Format string used by the Tcl format command (should be restricted to the form "%.Nf" if present).
locale (optional)
Locale
Returns:
Localized form of the number

Testcases:
lang_test__lc_procs, lang_test__lc_content_size_pretty, lc__commify_number
[ show source ]
Show another procedure: