integer part of a real number

Hello dears
how to find the integer part of a number

as.integer() may be what you want.

1 Like

Hi, you can just try this out:

x <- 3.1415 (your number)
as.integer(x)

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.