correction
correction on my comment:
L PIW 500 Vac probe input
ITD Integer to Double Integer
DTR Double Integer to Floating Point // OK
L 1.000000e+001 Multiply by 10 // geves us 0-276480
*R
L 2.764800e+004 Divide by 27648 // 276480/ 27648 = 10
/R
RND Round to a Double Integer
T DB6.DBW4
Your code is good. Sowry...
Everyone has his own way of coding, but in my case I think it's easier to first convert the range to 0-1. So starting with divider by 27648
correction on my comment:
L PIW 500 Vac probe input
ITD Integer to Double Integer
DTR Double Integer to Floating Point // OK
L 1.000000e+001 Multiply by 10 // geves us 0-276480
*R
L 2.764800e+004 Divide by 27648 // 276480/ 27648 = 10
/R
RND Round to a Double Integer
T DB6.DBW4
Your code is good. Sowry...
Everyone has his own way of coding, but in my case I think it's easier to first convert the range to 0-1. So starting with divider by 27648