> answer format("%03s",1)
>
> will display 001 (the 3 means pad with zeros to 3 places). So if the
> decimal points in your number series are intentional, you could make a
> function like:
>
> function padNumbers pSeries
> repeat for each line tNum in pSeries
> put "." & format("%03s",char 2 to -2 of tNum) & "." & cr after newSet
> end repeat
> return newSet
> end padNumbers
Actually, you can put the periods into the format function:
put format(".%03s.",1)
--> .001.
Ken Ray
Sons of Thunder Software, Inc.
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution