05.05.2014 Views

csmstr - Omega Engineering

csmstr - Omega Engineering

csmstr - Omega Engineering

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

TEXTTOFLOAT(STRING)<br />

CRIMSON USER MANUAL - MODULAR CONTROLLER<br />

TEXTTOFLOAT(STRING)<br />

ARGUMENT TYPE DESCRIPTION<br />

string cstring The string to be processed.<br />

DESCRIPTION<br />

Returns the value of string, treating it as a floating-point number. This function is often<br />

used together with Mid to extract values from strings received from raw serial ports. It can<br />

also be used to convert other string values into floating-point numbers.<br />

FUNCTION TYPE<br />

This function is passive.<br />

RETURN TYPE<br />

float<br />

EXAMPLE<br />

Data := TextToFloat("3.142")<br />

PAGE 426<br />

http://www.redlion.net/controller

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

Saved successfully!

Ooh no, something went wrong!