question

david-2 avatar image
david-2 asked

I'm trying to just generate random number (for a sweepstakes style call) via CloudScript. Possible?

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
david-2 avatar image
david-2 answered

Ah figured out can just use plain ol' JavaScript and Math.random(). Cool!

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.