You are here: RainWorx.FrameWorx.MVC Namespaces > RainWorx.FrameWorx.MVC.Controllers > RealTimeController Class > ConvertAmount Method

RealTimeControllerConvertAmount Method

AuctionWorx 3.5 API
Returns the converted price, or an error message

Namespace:  RainWorx.FrameWorx.MVC.Controllers
Assembly:  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: JsonResult
JSON encoded string representation of the converted amount
See Also

Reference

Copyright © 2002-2022. RainWorx Software. All rights reserved.