strToDint (Function) |
Top Previous Next |
strToDint will convert a string to a number (DINT). If the conversion is not possible, strToDint will return 0.
Input: str : STRING String to convert.
Returns: DINT The value of the string.
Declaration: FUNCTION strToDint : DINT;
Example: INCLUDE rtcu.inc |