Mathematica 9 is now available

Documentation / Mathematica / Built-in Functions / Input and Output / Number Formatting /

BaseForm

FilledSmallSquare BaseForm[expr, n] prints with the numbers in expr given in base n.

FilledSmallSquare The maximum allowed base is 36. For bases larger than 10, additional digits are chosen from the letters a-z.

FilledSmallSquare You can enter a number in an arbitrary base using base^^digits.

FilledSmallSquare When a number in an arbitrary base is given in scientific notation, the exponent is still given in base 10.

FilledSmallSquare You can mix BaseForm with NumberForm and related functions.

FilledSmallSquare BaseForm acts as a "wrapper", which affects printing, but not evaluation.

FilledSmallSquare See Section 2.9.7 and Section 3.1.3.

FilledSmallSquare See also: IntegerDigits, RealDigits.

FilledSmallSquare New in Version 1.

Further Examples



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.