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

RE: Formatting numeric data items

$
0
0

PIC S9(5)V99 is not a real decimal value, it's just a numeric string. The following statement does what you want:

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

Paramter "N02" will convert with the system culture opposite to numeric-edited in Cobol.


Viewing all articles
Browse latest Browse all 4356

Trending Articles



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