Date: Oct 8, 2013 3:04 AM
Author: Bruno Luong
Subject: Re: precision of fractional numbers

dpb <none@non.net> wrote in message <l2vpe1$pft$1@speranza.aioe.org>...

>
> Generally simplest is to use the i/o library to do the rounding --
>
> x=str2num(num2str(x,'%.2f'));


round(x/100)*100

is a way better method.

Bruno