# Representation of negative exponents [duplicate]

How can I expand e.g. number 1.*10^-8 so that there would be no exponents? It should look like 0.00000001.

-

## marked as duplicate by Mr.Wizard♦Sep 15 '12 at 11:54

Representation of numbers of handled with NumberForm. Choice of exponent to display is determined by its ExponentFunction option. If you never want an exponent displayed, this option should be a function that always returns Null, i.e. (Null &):

NumberForm[1.*10^-8, ExponentFunction -> (Null &)]
(* 0.00000001 *)

-
Thank you! I was thinking that NumberForm might be the answer but I did not know how exactly do it. – Teemu Sep 15 '12 at 7:55

In addition to NumberForm, AccountingForm may be a useful shorthand:

AccountingForm[1.*10^-8]


0.00000001

Negative numbers are displayed (by default) in parentheses:

AccountingForm[-1.*10^-8]


(0.00000001)

-