title: How to change exponential number format to the floating-point format in Perl
body: <p>I have a string in Perl that contains a small number:
  $num = "0.00000001";</p>
  
  <p>When I make a numeric operation on it, it becomes number in exponential format:
  $num = $num * 100;
  print "$num\n";</p>
  
  <p>The result is: 1e-06</p>
  
  <p>The question is,
  how to get this number be printed in floating-point format, i.e. 0.000001.</p>
  
  <p>I know I can do it for specific number with sprintf("%.6f", $num),
  but I'd like to have a generic solution,
  so I won't have to determine each time how many digits to show after the decimal point
  (like 6 in the above sprintf example)</p>