BUG: Calculated Currency Field Ignores FormattingLast reviewed: April 24, 1997Article ID: Q88603 |
The information in this article applies to:
SYMPTOMSIf a Picture clause on an @...SAY command specifies a format for a currency field, this formatting may be ignored when the output is calculated. For example, if the Picture clause is $999.99 and the calculated output is $123.2342, all decimal places are displayed.
CAUSEThis problem occurs if the @ sign is used in the Picture clause.
RESOLUTIONRemove the @ sign from the Picture clause.
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATION
Steps to Reproduce ProblemRun the following code:
x = 123.1111 @2,2 SAY x PICTURE "@$999.99"Note that the result is $123.1111 instead of $123.11.
|
Additional reference words: picture say
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |