re...
> The calc record already supports NINT(), but NINT does not appear in
> the calc record's list of algebraic operators in the Record Reference
> Manual. Thanks for pointing out this documentation problem.
>
> >... I need to convert the result of one of my calculations to the nearest
> > integer.
> > ... Will a future version
> > of the "calculation" record support the "INT" and "NINT" functions?
Also, the CEIL and FLOOR functions (which do appear in at least the latest
documentation) convert floats to integer-valued floats.
There a number of minor changes that haven't made it into the docs yet:
- unary minus
NINT nearest integer
LN natural log (synonym for LOGE)
SQRT square root (synonym for SQR)
PI 3.1415926...
D2R conversion from degrees to radians (note trig functions take
argument in radians) degrees = radians * D2R
R2D 1/D2R
SQRT square root (synonym for SQR)
Tim Mooney
- Navigate by Date:
- Prev:
Converting a float to an integer in a calculation record. Janet B. Anderson
- Next:
Is var_ptr in 1.8 same as pVar in 1.9 SNL ? Johnny Tang
- Index:
1994
1995
<1996>
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Converting a float to an integer in a calculation record. Janet B. Anderson
- Next:
Re: bug in sequencer Rozelle Wright
- Index:
1994
1995
<1996>
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|