Assuming rounding is required, the following 4 results were found.
in this case it is the rate that gets rounded. The numbers at the end still need to match what's in CRM and with ZohoBooks rounding differently can make cent/penny errors into 100s of dollar/pound errors. Zoho CRM has a fun way of rounding which differs...
// yields 10.10 However the opposite can be done as long as you set the datatype to a decimal first and then use the rounding. In other words the following will force the number to have 2 decimal places: v_Test1 = 12; info v_Test1.toDecimal().round(2);...
1 This includes a function which counts the number of decimals. I didn't need to use this method for my client; just rounding the decimals would suffice but here is my first version of the script: /*...
HTML entity equivalent and enclosing the ID in double-quotes in case I open it in MS Excel or another system that likes rounding 64-bit signed integers (long numbers): // // Generate a CSV of a Report in ZohoCreator l_CsvLines = List();...