Index: openacs-4/packages/acs-lang/tcl/localization-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-lang/tcl/localization-procs.tcl,v diff -u -N -r1.26 -r1.27 --- openacs-4/packages/acs-lang/tcl/localization-procs.tcl 29 Dec 2017 11:13:40 -0000 1.26 +++ openacs-4/packages/acs-lang/tcl/localization-procs.tcl 29 Dec 2017 11:17:34 -0000 1.27 @@ -8,20 +8,20 @@ http://www.fsf.org/copyleft/gpl.html @creation-date 30 September 2000 - @author Jeff Davis (davis@xarg.net) + @author Jeff Davis (davis@xarg.net) @author Ashok Argent-Katwala (akatwala@arsdigita.com) @cvs-id $Id$ } -ad_proc -public lc_parse_number { - num - locale +ad_proc -public lc_parse_number { + num + locale {integer_only_p 0} } { - Converts a number to its canonical - representation by stripping everything but the - decimal separator and triming left 0's so it + Converts a number to its canonical + representation by stripping everything but the + decimal separator and triming left 0's so it won't be octal. It can process the following types of numbers: