>>>No, this should be rtrim(padr(xxx,100)) >> >> >>Why, if I may ask ?? >> > >AFAIK transform has a bug related with SET FIXED (or SET DECIMALS). > >That's why PADR solution is preferrable. I wanted to even suggest it, but was not sure about the retrieval part. > >>> >>>>(2) get it back >>>>yyy = eval(retrieved from reg) >>>>>>>
set decimals to 2 aa = 123.12345 ?eval(transf(aa)) && 123.12345There are limits with the floating point representation