With this Sintaxe
FORMAT(PADSTR(’’,10- STRLEN(XX),‘0’) + XX)
my number cames like: 0000000012
How can I change the same sintaxe for the output to be like:
00000012.00
Thanks
With this Sintaxe
FORMAT(PADSTR(’’,10- STRLEN(XX),‘0’) + XX)
my number cames like: 0000000012
How can I change the same sintaxe for the output to be like:
00000012.00
Thanks
try
Dec := 12;
Message(’%1’,PADSTR(’’,10- STRLEN(Format(Dec)),‘0’)+FORMAT(Dec,0,’<Precision,2:2><Standard Format,0>’));
where dec is a variable of decimal datatype…
Mohana
With your idear the resulst is 0000000012, and I need 00000012.00
thanks