Top Navigational Bar

Merge - Obtaining A Percentage Of A Number Th
DocumentID: 651371
Revision Date: 29-Feb-96 8:29:06 PM

The information in this document applies to:
WordPerfect® 5.1 for DOS

Problem

Solutions: A customer created a secondary merge file with numbers in some fields. They wanted to merge with a primary file setup to calculate a percentage of the numbers in the secondary file. After the merge, the user hoped to receive a complete merge file including the percentages. The user realized they could not include decimals in the {ASSIGN} command to obtain the percentage. To obtain the percentage without the decimal value the customer used the following command in the primary file.
{ASSIGN}1~{FIELD}1~*80/100~{VARIABLE}1~
This command gave 80% of the field's value in the completed merge.

Answer:

Details:


Product specifications, packaging, technical support and information (*Specifications*) refer to theUnited States retail English version only. Specifications for other versions may vary. All Specifications, claims, features, representations, and/or comparisons provided are correct to the best of our knowledge of the date of publication, but are subject to change without notice.OUR MAXIMUM AGGREGATE LIABILITY TO YOU AND THAT OF OUR DEALERS AND SUPPLIERS IS LIMITED. IT SHALL NOTEXCEED THE AMOUNT YOU PAID TO ACCESS THE INFORMATION. SEE LEGAL DISCLAIMER.