in reply to number formatting

it seems i cant pad a number which is over 9 integers long. anyone know the cure?

Replies are listed 'Best First'.
Re: Re: number formatting
by japhy (Canon) on Aug 08, 2001 at 19:51 UTC
    The problem is your number is way too big. Treat it as a string, and all will be fine:
    printf "%015s", "3843850840892";

    _____________________________________________________
    Jeff japhy Pinyan: Perl, regex, and perl hacker.
    s++=END;++y(;-P)}y js++=;shajsj<++y(p-q)}?print:??;