EuroDisplay.ConvertAltStringToCurr Method (PIA)
Use this method to convert a string representation of a monetary value in the currency specified by the alternate locale identifier to a currency Object.
Definition
[Visual Basic .NET]
Imports Microsoft.CommerceServer.Interop.Orders
…
Public Function ConvertAltStringToCurr(vtMoneyString As Object) As Object
[C#]
using Microsoft.CommerceServer.Interop.Orders;
…
public objectEuroDisplay.ConvertAltStringToCurr(objectvtMoneyString);
Parameters
[Visual Basic .NET]
- vtMoneyString
An Object that contains the currency string to convert.
[C#]
- vtMoneyString
An object that contains the currency string to convert.
Return Values
[Visual Basic .NET] If this method completes successfully, it returns a currency Object that contains the converted currency information.
[C#] This method returns an object containing the converted currency information.
Exceptions
This method may throw one of many mapped exceptions or an exception of type COMException. See Standard COM Errors for additional details.
[Visual Basic .NET]
Example
' oEuroDisp is a Commerce.EuroDisplay object
' oResult is an Object
oResult = oEuroDisp.ConvertAltStringToCurr("23,444.53886")
' In the preceding example, the variable oResult is
' internally rounded to 23444.5389
Requirements
Namespace: Microsoft.CommerceServer.Interop.Orders
Platforms: Windows 2000, Windows Server 2003
Assembly: eurodisplib (in eurodisplib.dll)
See Also
EuroDisplay.ConvertBaseStringToCurr
Copyright © 2005 Microsoft Corporation.
All rights reserved.