Returns the converted price, or an error message
Namespace:
RainWorx.FrameWorx.MVC.ControllersAssembly: RainWorx.FrameWorx.MVC (in RainWorx.FrameWorx.MVC.dll) Version: 3.5
Syntax
C#
public JsonResult ConvertAmount( string amount, string fromCurrency, string toCurrency )
Parameters
- amount
- Type: SystemString
decimal amount to be converted - fromCurrency
- Type: SystemString
the 3-letter currency code of the amount to be converted - toCurrency
- Type: SystemString
the 3-letter currency code of the result
Return Value
Type: JsonResultJSON encoded string representation of the converted amount
See Also