Translating Number, Real, Field, or Boolean Items to Alpha or Group Items

An ALGOL statement of the form REPLACE....FOR n DIGITS is generated to perform the needed translation. Number and real items with fractional parts are turned to integers by truncation and then transformed. Signed items lose their signs during transformation.