Difference between revisions of "Osiris/API/Real"
From Divinity Engine Wiki
(Created page with "===== Full Definition(s) ===== * query '''Real'''('''''[in]'''(INTEGER)'''''_I''',''''' [out]'''(REAL)'''''_R''') ===== Description ===== Returns a Real '''_R''' equal in valu...") |
m |
||
Line 1: | Line 1: | ||
===== Full Definition(s) ===== | ===== Full Definition(s) ===== | ||
− | * query '''Real'''('''''[in]'''(INTEGER)'''''_I''',''''' [out]'''(REAL)'''''_R''') | + | * query '''Real'''('''''[in]'''(INTEGER)'''''_I''', '''''[out]'''(REAL)'''''_R''') |
===== Description ===== | ===== Description ===== | ||
Returns a Real '''_R''' equal in value to the integer '''_I'''. | Returns a Real '''_R''' equal in value to the integer '''_I'''. | ||
Line 8: | Line 8: | ||
* '''_R''': The real. | * '''_R''': The real. | ||
===== 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/Integer]] | * [[Osiris/API/Integer]] | ||
− | [[Category:Osiris Queries]] | + | [[Category:Osiris Queries|Real]] |
Latest revision as of 15:41, 19 December 2017
Full Definition(s)
- query Real([in](INTEGER)_I, [out](REAL)_R)
Description
Returns a Real _R equal in value to the integer _I. Functions as a cast from one to the other.
Return Values
- Success/Failure: Never fails.
- _R: The real.
Notes
- Direct casts between Real and Integer do not work in Osiris.