Feature request #5928

Random function

Added by Antti Ruonakoski over 10 years ago. Updated over 9 years ago.

Assignee:Nathan Woodrow
Pull Request or Patch supplied:No Resolution:fixed
Easy fix?:No Copied to github as #:15365



Please add RANDOM function to the expression builder. For example, it would be quite beneficial when calculating sample attribute values of randomly generated points.
To all developers, big thanks for QGIS! :)


#1 Updated by Nathan Woodrow over 10 years ago

What kind of random number would you expect. Just plain ints? The Postgres random function returns a number between 0.0 and 1.0.

Would you want to be able to supply a max and min range?

#2 Updated by Paolo Cavallini over 10 years ago

  • Target version set to Version 2.0.0

#3 Updated by Nathan Woodrow over 9 years ago

  • Resolution set to fixed
  • Status changed from Open to Closed

In master now

Also available in: Atom PDF