Hi
Does CRBasic got a uppsit function of the FormatFlow ?
I want to convert a string containing a numeric value into a numeric type (eg Long)
Regards
Morten
The CRX000 dataloggers attempt to convert from string to numeric or numeric to string automatically, wherever possible. So if you place a string into a long variable, the conversion should be done.
The caveat to this is that automatic conversion of an alphanumeric string will stop when the first alpha character is found. If the string begins with alpha characters and SplitStr is not used to strip off those characters, then NAN will be stored.
Also, if using an operator on strings & numerics the following applies:
string <operator> float = string
float <operator> string = float
Regards,
Dana W.
Hi Dana
That was too easy :-)
But it worked...
thanks
Mrten