Bill

Thanks for the explanation

Regards David


-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Bill Downall
Sent: 19 May 2005 12:46
To: RBG7-L Mailing List
Subject: [RBG7-L] - Re: CTXT/FORMAT

David,

First of all, FORMAT() with an integer by default leaves a blank space
at the left end for a "minus sign" for negative numbers.

Secondly, CTXT(FORMAT()) is redundant:  Format already converts the
numeric or date value into text.

Try this:

SET VAR vtesttxt = (FORMAT(.vtestint,'[-]0000'))
SET VAR vwrite = (SPUT(.vwrite,.vtesttxt,2))
SHOW V vwrite

Reply via email to