Note: I should have said for negative values, this may have to be adjusted, depending on how you define "fractional part," as -1.25 %% 1 = .75.
-- Bert Gunter > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Hans-Peter > Sent: Thursday, September 28, 2006 8:40 AM > To: R Help > Subject: [R] fractional part > > Hi all, > > is there a function to get the fractional part of a number? > > -- > Regards, > Hans-Peter > > ______________________________________________ > [email protected] 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. > ______________________________________________ [email protected] 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.
