Try something like ...
set var v1 text= '6' set var v1 = (dwrd(.v1)) set var v = (SRPL(.v1,' dollars and zero cents',NULL,0))
James
select inwgt,'The value for in weight is ' & (DWRD(inwgt)) & 'pounds' from
prodmast will produce this:
inwgt ('The value for in weight is ' & (DWRD(inwgt
--------- -----------------------------------------------------------------
126 The value for in weight is one hundred twenty-six pounds 126 The value for in weight is one hundred twenty-six pounds 126 The value for in weight is one hundred twenty-six pounds 126 The value for in weight is one hundred twenty-six pounds 126 The value for in weight is one hundred twenty-six pounds
Is there an RBase function to convert an integer to its text equivalent? I want a report to write out "For the six months ending..." rather than "For the 6 months ending". Have I overlooked a function? Thanks. Jan
