Forum OpenACS Improvement Proposals (TIPs): Re: template::data::validate::integer allows leading zeros

Collapse
Posted by Gustaf Neumann on
string is integer does not solve the discussed problem.

set x 0111; puts [expr {[string is integer $x] ? $x : 0}]

outputs 73

Cheers, -gustaf neumann