I have a script that processes a google spreadsheet. if I have a variable "myVariable" which has a value of 2.10 and use the function SpreadsheetApp.getActiveSheet().getRange(,).setValue(myVariable) it is stored as 2.1 instead of 2.10. When I call the value again, the last decimal places get truncated if they are zero. Since these are fiscal numbers I need to keep the two decimal places.
Is there a way to prevent this?