05.05.2014 Views

csmstr - Omega Engineering

csmstr - Omega Engineering

csmstr - Omega Engineering

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

MAKEFLOAT(VALUE)<br />

CRIMSON USER MANUAL - MODULAR CONTROLLER<br />

MAKEFLOAT(VALUE)<br />

ARGUMENT TYPE DESCRIPTION<br />

value int The value to be converted.<br />

DESCRIPTION<br />

Reinterprets the integer argument as a floating-point value. This function does not perform a<br />

type conversion, but instead takes the bit pattern stored in the argument, and assumes that<br />

rather than representing an integer, it actually represents a floating-point value. It can be used<br />

to manipulate data from a remote device that might actually have a different data type from<br />

that expected by the communications driver.<br />

FUNCTION TYPE<br />

This function is passive.<br />

RETURN TYPE<br />

float.<br />

EXAMPLE<br />

fp := MakeFloat(n);<br />

PAGE 370<br />

http://www.redlion.net/controller

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!