This site is supported by donations to The OEIS Foundation.

Integer part

From OeisWiki
(Redirected from Truncation)
Jump to navigationJump to search


This article page is a stub, please help by expanding it.


The integer part (or truncation) of a real number corresponds to rounding towards zero. Thus, the integer part of a positive number is its floor, and the integer part of a negative number is its ceiling.

[x]={x if x>0,0 if x=0,x if x<0.={x if x0,x if x<0.

For example, the integer part of π is 3. The integer part of 17293 is 17293=12. Likewise, the integer part of the (real) cubic root of –1729 is 17293=12.

In the OEIS, sequences of nonintegers are sometimes given by their integer parts. For example, EXAMPLE GOES HERE. (Provide examples.)[1]

See also

[edit]

Notes

[edit]
  1. Provide examples.
[edit]