![]() |
CALC.WPM - Negative Number Results |
The information in this document applies to:
WordPerfect® 5.1 for DOS
Problem
Symptoms: The CALC.WPM macro is producing strange results. For example, try typing 2000*110. The result is a negative number. The testing that I have done seems to narrow down the problem to numbers between 108 and 199. Solutions: This is a limitation with macros. The CALC.WPM macro must add zeros (so decimal places can be figured) to the number entered. Then, do the multiplication and take off the extra zeros. Thus, when the zeros are added and multiplication happens, the resulting number is greater then 2,147,483,647. This is the largest number possible in macros (page 837). The way around this problem is to use less decimal places in the CALC.WPM macro. |
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. |