Wolfram ResearchProductsPurchasingServices & ResourcesAbout UsOur Sites
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.

Documentation / Mathematica / Built-in Functions / Numerical Computation / Number Representation /

FromDigits

FilledSmallSquare FromDigits[list] constructs an integer from the list of its decimal digits.

FilledSmallSquare FromDigits[list, b] takes the digits to be given in base b.

FilledSmallSquare Example: FromDigits[3,7,4] LongRightArrow.

FilledSmallSquare FromDigits is effectively the inverse of IntegerDigits.

FilledSmallSquare FromDigits[list, n, b] takes n to be an exponent, while FromDigits[list, rep, n, b] takes rep to be repeated, so that FromDigits can also be used as the inverse of RealDigits.

FilledSmallSquare Since IntegerDigits[n] discards the sign of n, FromDigits[IntegerDigits[n]] is Abs[n] not just n.

FilledSmallSquare The digits in list and the base b need not be positive integers, and can be any expression.

FilledSmallSquare If Indeterminate appears in list, it is assumed to signify unknown digits beyond the precision of an approximate real number.

FilledSmallSquare See Section 3.1.3.

FilledSmallSquare See also: IntegerDigits, RealDigits, FromContinuedFraction, NumberForm, DigitCount.

FilledSmallSquare New in Version 3; modified in 4.0.

Further Examples



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information


 © 2008 Wolfram Research, Inc.  Terms of Use  Privacy Policy | [ja] |
Sign up for our newsletter: