How can I use native functions inside Google Spreadsheet AppScript?

I simply want to use round(…) method from Spreadsheet inside the but the I got the error:

"ReferenceError: round is not defined"

See the attached image (LOC 28).

Note: I added this a few days ago and it was working, but now when I opened it started to complain about that function. Baffled!

enter image description here

Leave a Reply

Your email address will not be published.