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

RE: Formatting numeric data items

$
0
0

If on the other hand you have existing code which uses the PICTURE definition, you should be able to get the results you want by using a cast operation to decimal (which is a predefined type meaning System.Decimal on .NET).  So something like:

01 DecimalValue PIC S9(5)V99

 set textBox1::Text to DecimalValue as decimal::ToString()


Viewing all articles
Browse latest Browse all 4356

Trending Articles



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