This is documentation for Mathematica 4, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)



FilledSmallSquareFractionalPart[x] gives the fractional part of x.

FilledSmallSquare Mathematical function (see Section A.3.10).

FilledSmallSquareFractionalPart[x] in effect takes all digits to the right of the decimal point and drops the others.

FilledSmallSquare Examples: FractionalPart[2.4] LongRightArrow; FractionalPart[2.6] LongRightArrow; FractionalPart[-2.4] LongRightArrow; FractionalPart[-2.6] LongRightArrow.

FilledSmallSquareFractionalPart[x] + IntegerPart[x] is always exactly x.

FilledSmallSquareFractionalPart[x] yields a result when x is any numeric quantity, whether or not it is an explicit number.

FilledSmallSquare Example: FractionalPart[Pi^2] LongRightArrow.

FilledSmallSquare For exact numeric quantities, FractionalPart internally uses numerical approximations to establish its result. This process can be affected by the setting of the global variable $MaxExtraPrecision.

FilledSmallSquare See The Mathematica Book: Section 3.2.2.

FilledSmallSquare See also: IntegerPart, Mod.

Further Examples