in reply to Re: How to Switch off octal interpretation of literal ?
in thread How to Switch off octal interpretation of literal ?

I'm still not sure what you are trying to achieve, but sprintf can also eliminate leading zeroes.
DB<8> printf "%d","023" 23

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Wikisyntax for the Monastery

Replies are listed 'Best First'.