RetailPricingEngineCurrency.convert Method [AX 2012]

Convert a price from one currency to another.

Syntax

public real convert(
    real _price, 
    str _fromCurrencyCode, 
    str _toCurrencyCode)

Run On

Called

Parameters

  • _price
    Type: real
    price amount.
  • _fromCurrencyCode
    Type: str
    from currency code.
  • _toCurrencyCode
    Type: str
    to currency code.

Return Value

Type: real
Converted price amount

See Also

Reference

RetailPricingEngineCurrency Class