# [Tex/LaTex] Exponent with more than 1 digit

pdftexpgfmath

How can i format an exponent with more than one digit? For example i want $10^20$ and latex gives me 10^2 and 0.

just use the curly braces as $10^{20}$.