Try:

trunc(a)

On Mon, Dec 15, 2008 at 5:11 AM, zahid khan <solo_...@yahoo.com> wrote:

> Dear All
> suppose that "a=7.5",if i need only integer part of "a"  that is "7" then
> what command i can use in R for this purpose.
>
> Zahid Khan
> Lecturer in Statistics
> Department of Mathematics
> Hazara University Mansehra.
>
>
>
>        [[alternative HTML version deleted]]
>
>
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
>


-- 
Henrique Dallazuanna
Curitiba-Paraná-Brasil
25° 25' 40" S 49° 16' 22" O

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to