Tag Info

New answers tagged

3

Coercion in js is amazing and in this case you could simply use like this sheet.getRange("B2").setValue(A + "") Simply plus the empty string to your value. And for something in the similar but reverse way you can use +myString Just using an unary + operator this will coerce the string to a number. Find more about js coercion with a super sensei ...



Top 50 recent answers are included