Another APProach might be using Rset
TmpStr = string(8,32)
rset tmpstr = (format(str(.02),"0.00"))
Curt
Quote:
>>*Is there a way right justify numerical output? Everything
>>I've tried left justifies numbers.
>Just add spaces to the number. Like:
>Print #1, String$(10 - Len(Cstr(number)), " ")
>to print numbers aligned right within a 10 character area.
>>*I've tried converting the numbers to strings and manipulating
>>that way. Problems arise when the number is >0, but <1 (ie
>>0.02). When converting to string, it eliminates the zeros when
>>printed to the output (it prints " . 2").
>That should be ".02", right?
>--
>Newbiehood is not a period of time, it's a way of life.
>http://www.sn.no/~balchen
>ftp://ftp.sn.no/user/balchen/