Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #40567

Controlling number of zeros of exponent in scientific notation

Newsgroups comp.lang.python
Date 2013-03-05 12:09 -0800
Message-ID <c2184b42-41be-4930-9501-361296df7679@googlegroups.com> (permalink)
Subject Controlling number of zeros of exponent in scientific notation
From faraz@squashclub.org

Show all headers | View raw


Instead of:

1.8e-04

I need:

1.8e-004

So two zeros before the 4, instead of the default 1.

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Controlling number of zeros of exponent in scientific notation faraz@squashclub.org - 2013-03-05 12:09 -0800
  Re: Controlling number of zeros of exponent in scientific notation Dave Angel <davea@davea.name> - 2013-03-05 15:56 -0500
  Re: Controlling number of zeros of exponent in scientific notation Terry Reedy <tjreedy@udel.edu> - 2013-03-06 00:45 -0500
  Re: Controlling number of zeros of exponent in scientific notation Roy Smith <roy@panix.com> - 2013-03-06 09:03 -0500
    Re: Controlling number of zeros of exponent in scientific notation jmfauth <wxjmfauth@gmail.com> - 2013-03-06 07:16 -0800
  Re: Controlling number of zeros of exponent in scientific notation "Russ P." <Russ.Paielli@gmail.com> - 2013-03-06 11:11 -0800

csiph-web