analysis/
mg_round.pro
includes main-level programRoutines
top mg_round
result = mg_round(x [, roundTo] [, /l64])
Rounds value to integer value (or to nearest float value). Allows rounding
to nearest roundTo
value, i.e., round to the nearest 0.1
.
Return value
numeric
Parameters
- x in required type=numeric (array)
value to round
- roundTo in optional type=numeric scalar default=1
value to round to
Keywords
- l64 in optional type=boolean
set to return result as a 64-bit integer
File attributes
Modification date: | Wed May 14 15:07:14 2014 |
Lines: | 14 |
Docformat: | rst rst |
Contact me if you have enhancement requests or bug fixes.