in reply to Re: help with sprintf
in thread help with sprintf

I tried that before and it doesnt seem to work... hence the confusion...:(

Replies are listed 'Best First'.
Re^3: help with sprintf
by FunkyMonk (Bishop) on Jun 26, 2008 at 18:43 UTC
    Can you give some examples of the output you expect to see from a range of different inputs?

    Unless I state otherwise, all my code runs with strict and warnings
      example: Input: (user selects)
      2 e -10 (No. between 0-9) e (No. between 10 and -20)
      I want the output to be 0.0000000002 instead of 2e-10 I hope this helps...

        If $power is negative, you should define another var equal to -$power.

        Rule One: "Do not act incautiously when confronting a little bald wrinkly smiling man."