Warren_nickus,
I am unable to reproduce this problem. I have tested MethodAPIInsert,MethodAPIInsertV2,MethodAPIUpdate, MethodAPIUpdateV2 on both the original and forthcoming version of the API.
Below is an example of the code I used to test MethodAPIInsert (I have blanked out the company account, user name and password, with XXXX, YYYY, and ZZZZ respectively)
string[ arrInsertFields = new string[ { "EstimateRecordID", "Item", "Quantity", "Rate" };
string[ arrInsertValue = new string[ { "12", "AR BID", "1", "442.20" };
string RecordID = "";
lblMethodAPIInsert.Text = MethodAPI.MethodAPIInsert(XXXX, YYYY, ZZZZ, "EstimateLine", arrInsertFields, arrInsertValue, ref RecordID);
Below is an example of the code I used to test MethodAPIInsertV2 (I have blanked out the company account, user name and password, with XXXX, YYYY, and ZZZZ respectively)
string[ arrInsertFields = new string[ { "EstimateRecordID", "Item", "Quantity", "Rate" };
string[ arrInsertValue = new string[ { "12", "AR BID", "1", "442.20" };
lblMethodAPIInsertV2.Text = MethodAPI.MethodAPIInsertV2(XXXX, YYYY, ZZZZ,"", "EstimateLine", arrInsertFields, arrInsertValue);
Below is an example of the code I used to test MethodAPIUpdate (I have blanked out the company account, user name and password, with XXXX, YYYY, and ZZZZ respectively)
string[ arrUpdateFields = new string[ { "Rate" };
string[ arrUpdateValue = new string[ { "442.20" };
lblMethodAPIUpdate.Text = _MethodAPI.MethodAPIUpdate(XXXX, YYYY, ZZZZ, "EstimateLine", arrUpdateFields, arrUpdateValue, "62");
Below is an example of the code I used to test MethodAPIUpdateV2 (I have blanked out the company account, user name and password, with XXXX, YYYY, and ZZZZ respectively)
string[ arrUpdateFields = new string[ { "Rate" };
string[ arrUpdateValue = new string[ { "442.20" };
lblMethodAPIUpdate.Text = MethodAPI.MethodAPIUpdateV2(XXXX, YYYY, ZZZZ, "", "EstimateLine", arrUpdateFields, arrUpdateValue, "63");
This works fine 442.20 is being entered in method as 442.20. When the quickbooks sync happens the rate in quickbooks shows up as 442.20.
You will notice I used hardwired string values.
You mentioned in your post above you are using float values from a database. Have you confirmed that the value is not saved there as 442.199999? If it is stored there as 442.199999, and you want to use it in method as 442.20 have you rounded it to 2 decimal places first?
Have you confirmed that the value being passed to the api function calls is not 442.199999?
Dave