Skip to content

Instantly share code, notes, and snippets.

@samredai
Created June 14, 2020 17:26
Show Gist options
  • Save samredai/e221a92847b2a46956adca1da03c6315 to your computer and use it in GitHub Desktop.
Save samredai/e221a92847b2a46956adca1da03c6315 to your computer and use it in GitHub Desktop.
Cypher: Return a random float rounded to 2 decimal places (and less than 1000)
return round((rand()*1000) * 100)/100
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment