Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Numerical Functions >

FractionalPart

FractionalPart[x]
gives the fractional part of x.
  • Mathematical function, suitable for both symbolic and numerical manipulation.
  • FractionalPart[x] in effect takes all digits to the right of the decimal point and drops the others.
  • FractionalPart[x] yields a result when x is any numeric quantity, whether or not it is an explicit number.
  • 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.
  • FractionalPart applies separately to real and imaginary parts of complex numbers.
New in 3
© 2013 Wolfram Research, Inc. Japanese
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team