Osiris/API/Integer: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 8: | Line 8: | ||
* '''_I''': The integer value after rounding. | * '''_I''': The integer value after rounding. | ||
===== Notes ===== | ===== Notes ===== | ||
Direct casts between Real and Integer do not work in Osiris. | * Direct casts between Real and Integer do not work in Osiris. | ||
===== See Also ===== | ===== See Also ===== | ||
* [[Osiris/API/Real]] | * [[Osiris/API/Real]] | ||
[[Category:Osiris Queries|Integer]] | [[Category:Osiris Queries|Integer]] |
Latest revision as of 10:49, 19 August 2018
Full Definition(s)
- query Integer([in](REAL)_R, [out](INTEGER)_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.