The SET ENVIRONMENT DECIMAL command lets you use an alternate convention for the digit separator and decimal point when displayed in panels or printed in reports generated by an application running during the current session. This command does not affect the decimal symbol as it is specified in the edit pattern of a report definition or panel field definition or in a $EDIT function in the procedure of a CA Ideal program.
The decimal symbol can only be one of the following:
For example, if the decimal symbol is set to a comma, a value set with the following edit pattern displays at runtime:
SET ENVIRONMENT DECIMAL ,
SET X = $EDIT(N, PIC='ZZZ,ZZZ.99')
2.345,00
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|