[R] Rounding like in finances
Henrique Dallazuanna
wwwhsd at gmail.com
Mon Feb 22 15:09:09 CET 2010
round(245.455, 2) ?
On Mon, Feb 22, 2010 at 11:06 AM, Oliver <oliver at first.in-berlin.de> wrote:
> Hello,
>
> I need to have a "kaufmaennisches Runden" function.
>
> Is there already something like that?
>
> It means: rounding up the 5, instead of rounding it down.
>
> So, 245.455 would give 245.46
>
> I found no option for this.
> Maybe there is a package for it?
>
>
> Oliver
>
> ______________________________________________
> R-help at 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
More information about the R-help
mailing list