Originally we were asked for %04d analogue, so it is implied only signed **integer** decimal data, that is %d format specifics, so "-.1" and "A" shouldn't be considered as a valid input.
But negative sign is a valid part of integer. Well... (After jumping around several $RE and some such) I end up with that perverted combination: s x=-12345,prec=8 w $s(x<0:"-",1:"")_$tr($j($fn(x,"-"),prec-(x<0))," ",0) Hmm. Once I'll fix my VPN problems I'll prodlog enhancement request. Best Regards, Timur "Denver Braughler" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] : Timur Safin wrote: : > What about this one?: : > $TR($J(x,4)," ",0) : That's fine if x is a positive integer. : : What if it is "A" or "-.1"?
