PRT decimals instead of scientific

Is it possible to force reports to show values as decimals instead of scientific format?

Please see my test code below:

+prog template
    let#A 123456789
    prt#A
end

This yields following output:

---- CADINT VARIABLE A               (     0) =      0.1235E+09

Hello,

have a look onto the following code:

+prog template
HEAD
    let#A 123456789
    prt#A
    TXB #A
END       

I use PRT for internal checks only.

Greetings from NRW

Hi, Thanks for the reply

Unfortunately it seems TXB is only valid for variables and not for lists? Please see the following code:

+prog template urs:24.1
let#A 123456789,987654321
prt#A
TXB #A(:)
end

Try

+prog template urs:24.1
let#A 123456789,987654321
prt#A
Loop#1 A
   TXB #(#A(#1))     $ to text
   TXB #(#A(#1),9.0) $ to text with fieldwidth 9 and 0 decimals
EndLoop  
end

Thanks, seems to work!

Debugging, however, is getting rather complex when I need to write a loop just to see my variables, but I guess that’s the way it is. Thanks a lot! :slight_smile: