Trying to insert a value into a json / OData script:
var new_TaxPercentage = result_timesheet.new_TaxTypePercentage;
Xrm.Page.getAttribute("new_taxpercentage").setValue(parseFloat(eval(new_TaxPercentage.new_Float)));
The correct value is retrieved but the decimal point is greater: 20.000000000, and I want to insert into a field that has 1 decimal place. Any ideas?