Quantcast
Channel: Visual COBOL - Forum - Recent Threads
Viewing all articles
Browse latest Browse all 4356

RE: Error 1 COBCH1624 : Cannot implicitly convert string to binary-long unsigned.

$
0
0

There are no errors if you use the tryparse for the conversion:

If you expect a double:

      set Amount to 0.0  *> optional

      invoke type System.Decimal::TryParse(TextBox17::Text, by reference Amount)

If you expect an integer:

      set Amount to 0  *> optional

      invoke type System.Int32::TryParse(TextBox17::Text, by reference Amount)

Each numeric class has its own parse & try parse


Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>