On Mon, Jul 26, 2010 at 11:42 PM, Gabor Grothendieck <ggrothendi...@gmail.com> wrote: >> The following code should return 1, but it returns 0: >> >> source("http://r-bc.googlecode.com/svn/trunk/R/bc.R") >> bc("9 % 2") >> > > See FAQ 2 on the r-bc package home page: > http://r-bc.googlecode.com
Thanks to all respondents for your replies. It seems that there is still a problem: > bc("2 % 50",sample=0) [1] "0" However, > bc("scale = 0; 2 % 50") [1] "2" > Paul ______________________________________________ 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.