OOOPSS!!! brain dead today
neither function exists
I've simply been recasting to get the value rounded off.
double value;
int nuvalue;
nuvalue = (int) value;
but that isn't even the new form, just simpler.
should move your question to the C++ group, they're quick.
- Robert -
On Sat, 10 Feb 2007 09:29:26 -0800
"Robert A. Macy" <address@hidden> wrote:
usenet c++ group is best for these questions, but
it's either
nuvalue=fix(value + .5);
or
nuvalue=rnd(value);
can't remember
- Robert -
On Sat, 10 Feb 2007 17:12:13 +0100
Michael Creel <address@hidden> wrote:
In the C++ quick reference
(http://wiki.octave.org/wiki.pl?CPPQuickReference) I
don't find and entry for the equivalent of round().
Anyone know that one? I'd
like to apply the operator to a matrix.
Thanks, M.
_______________________________________________
Help-octave mailing list
address@hidden
https://www.cae.wisc.edu/mailman/listinfo/help-octave