Hello,
I want to put data from a field to a file, but I do not get the correct format.
The field-name of the field is "Preis" and the format is z,zzz,zz9.99
The command is:
PUT UNFORMATTED STRING(xxx.Preis).
If the price is 30,00, I get 30 in the export file.
This is wrong, I want to have 30,00!
If the price is 30,01, I get 30,01, this is correct.
If I use the DISP command, I get the correct price (30,00) on the screen.
Does anybody have a solution for my problem?
I want to put data from a field to a file, but I do not get the correct format.
The field-name of the field is "Preis" and the format is z,zzz,zz9.99
The command is:
PUT UNFORMATTED STRING(xxx.Preis).
If the price is 30,00, I get 30 in the export file.
This is wrong, I want to have 30,00!
If the price is 30,01, I get 30,01, this is correct.
If I use the DISP command, I get the correct price (30,00) on the screen.
Does anybody have a solution for my problem?