ID: Q175951
The information in this article applies to:
- Microsoft Commerce Server, versions 2.0 and 3.0
When you use the Page.RequestMoneyAsNumber datafunction in Commerce Server, you may experience the following error message:
list_price must be a number between 0 and 2147483648
One cause for this error message is that the RequestMoneyAsNumber function uses the Number settings, rather than the Currency settings, for a specific locale. This only happens in cases where the Number format and the Currency format are not identical, such as Local &H041D (Swedish). The Swedish locale uses the following formats:
Number : 1 234,56
Currency: 1.234,56
Note the group separator of a space in the Number format and the dot in the
Currency format.
To work around this problem, you can do any of the following:
File name: _UPDATE.ASP
Change the following:
list_price = mscsPage.RequestMoneyAsNumber("list_price", null, 0,
2147483648)
To:
list_price = mscsPage.RequestMoneyAsNumber("list_price", null, 0,
2147483648, 1030)
Microsoft has confirmed this to be a problem in Microsoft Commerce Server versions 2.0 and 3.0. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
Additional query words: siteserver data function local seperator separater seperater
Keywords : kbenv kbbug2.00 CommMisc
Version : WINNT:2.0 3.0
Platform : winnt
Issue type : kbbug
Last Reviewed: June 13, 1998