Osiris/API/Integer: Difference between revisions
Jump to navigation
Jump to search
(Created page with "===== Full Definition(s) ===== * query '''Real'''('''''[in]'''(INTEGER)'''''_R''',''''' [out]'''(REAL)'''''_I''') ===== Description ===== Rounds the real '''_R''' towards zero...") |
(No difference)
|
Revision as of 12:51, 14 November 2017
Full Definition(s)
- query Real([in](INTEGER)_R, [out](REAL)_I)
Description
Rounds the real _R towards zero and returns it as an integer _I. Functions as a cast from one to the other.
Return Values
- Success/Failure: Never fails.
- _I: The integer value after rounding.
Notes
Direct casts between Real and Integer do not work in Osiris.