Sign up ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

Possible Duplicate:
Way to improve “show me this decimal number to M places, don't use scientific notation”?

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

share|improve this question

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

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2 Answers 2

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 *)
share|improve this answer
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:



Negative numbers are displayed (by default) in parentheses:



share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.