ConvertMoneyStringToNumber of DataFunctions_4_0 Returns Incorrect Value (312445)
The information in this article applies to:
- Microsoft Commerce Server 2000 SP1
- Microsoft Commerce Server 2000 SP2
- Microsoft BizTalk Server 2000
- Microsoft BizTalk Server 2000 SP1a
This article was previously published under Q312445 SYMPTOMS
The ConvertMoneyStringToNumber method of the DataFunctions_4_0 component (included with Commerce Server 2000 and BizTalk Server 2000) returns values in the base monetary unit for a given locale. Therefore, if a value is given in dollars, ConvertMoneyStringToNumber returns the number of cents for the dollar value. However, there may be times when ConvertMoneyStringToNumber converts the value incorrectly, losing one cent. For example, ConvertMoneyStringToNumber converts $1.50 to 149 cents instead of 150 cents.
RESOLUTIONTo resolve this problem, obtain the latest service pack for Commerce Server 2000. For additional information, click the following article number to view the article in the
Microsoft Knowledge Base:
297216 INFO: How to Obtain the Latest Commerce Server 2000 Service Pack
The English version of this fix should have the following file attributes or later:
Date Time Version Size File name
-----------------------------------------------------------
14-Dec-2001 12:17:51 4.0.3022.0 176,400 Mscsasphelp.dll
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Commerce Server 2000 Service Pack 3 (SP3).
Modification Type: | Minor | Last Reviewed: | 9/23/2005 |
---|
Keywords: | kbHotfixServer kbQFE kbbug kbCommServ2000preSP3fix kbCommServ2000sp3fix kbfix KB312445 |
---|
|