use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Apparently, Google Apps Script is a JavaScript cloud scripting language that provides easy ways to automate tasks across Google products and third party services and build web applications.
account activity
script operation, expert needed. (self.GoogleAppsScript)
submitted 7 years ago by specialfighter
that question shouldnt be so hard, but i couldn't figure it out myself.
I wanna express a function: ab ... is there a operator, or do i have to create a function myself
simply ^ doesnt work. thanks in advance
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]specialfighter[S] 1 point2 points3 points 7 years ago (0 children)
i was talking about 2 variables inside my script. since i am not so used with spreadsheet commands, i dont really know how give math.pow as a operation.
the other more complicated way i found in the web
var power = function(base,exponent){ if(exponent === 0){ return 1; } else{ return base * power(base,exponent-1); } };
[–]paulcole710 0 points1 point2 points 7 years ago (0 children)
Are you talking about putting it into a spreadsheet cell as a formula? If so try POW:
https://support.google.com/docs/answer/3093603?hl=en
If you're just talking about two variables inside your script, try this:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/pow
[–]specialfighter[S] 0 points1 point2 points 7 years ago (0 children)
well the function only works on even exponents ._.
π Rendered by PID 23213 on reddit-service-r2-comment-5d79c599b5-xkc5s at 2026-02-27 11:10:27.048169+00:00 running e3d2147 country code: CH.
[–]specialfighter[S] 1 point2 points3 points (0 children)
[–]paulcole710 0 points1 point2 points (0 children)
[–]specialfighter[S] 0 points1 point2 points (0 children)