Osiris/API/Real: Difference between revisions

From Divinity Engine Wiki
Jump to navigation Jump to search
(Created page with "===== Full Definition(s) ===== * query '''Real'''('''''[in]'''(INTEGER)'''''_I''',''''' [out]'''(REAL)'''''_R''') ===== Description ===== Returns a Real '''_R''' equal in valu...")
 
mNo edit summary
 
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 14: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.
See Also