Hi,
I have two fields "new_days" its data type is Text and "new_cost" its data type is Currency. I want to perform calculation and save into another fiel. I am doing like this:
var days=Xrm.Page.getAttribute("new_days").getValue();
var cost=Xrm.Page.getAttribute("new_cost").getValue();
var Totalcost=cost*days;
Xrm.Page.getAttribute("new_Total").getValue(Totalcost);
Please guide me how to convert string values into currency.