powered by
Rounds toward zero.
fix(A)
Returns vector containing integers by truncating the corresponding values of argument A toward zero.
A
numeric to be rounded
P. Roebuck proebuck1701@gmail.com
Simply invokes trunc.
trunc
ceil, Round
ceil
Round
fix(c(1.3, 2.5, 3.7))
Run the code above in your browser using DataLab