cancel
Showing results for 
Search instead for 
Did you mean: 

decimal notation in scripts

Former Member
0 Kudos

Hi,

In script i have to print total which includes tax for that i have included subroutine in script in program i have fetched tax and added that tax to netvalue making toatl which i have moved to outtab value, total field type is taken as character so in the

print it is appearing as 30098.00 but i want it as 30,098.00 how can i get plz help it if in the program total field is taken as currency then i am not getting any values into outtab.

Thanks in advance

Accepted Solutions (0)

Answers (1)

Answers (1)

john_fitzgerald
Participant
0 Kudos

use this code

WRITE amtvar TO stringvariable CURRENCY amountcurrency

DECIMALS 2.

amount currency u will find in the waerk or waers field

its not mandatory

Message was edited by:

John Fitzgerald