Difference between revisions of "Lua:readFloat"

From Cheat Engine
Jump to navigation Jump to search
(Created page with ''''function''' readFloat(''Address'') Reads the 4 bytes at the given address and interprets them as a single precision floating point value ===Function Parameters=== {|width="8…')
 
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
'''function''' readFloat(''Address'')
+
[[Category:Lua]]
 +
'''function''' readFloat(''Address'') ''':''' float
  
Reads the 4 bytes at the given address and interprets them as a single precision floating point value
+
Reads a DWORD (4 bytes) at the given address and interprets them as a single precision floating point value.
  
 
===Function Parameters===
 
===Function Parameters===
Line 10: Line 11:
 
|-
 
|-
 
|Address
 
|Address
|String or Integer
+
|[[CEAddressString]] or Integer
 
|The address to read
 
|The address to read
 
|}
 
|}
  
== See also ==
+
{{LuaSeeAlso}}
* [[readBytes]]
+
 
* [[readInteger]]
+
=== Related Functions ===
* [[readFloat]]
+
{{ReadWriteMemory}}
* [[readDouble]]
 
* [[readString]]
 
* [[Lua]]
 

Latest revision as of 00:02, 25 January 2018