Question3Replies4446Views DirkB308 Member since 2016 1 post Accenture Posted: August 25, 2016Last activity: September 8, 2016 Closed Solved How do you set a property to a random number?Is there an out-of-the-box random number generator? I'm looking for a random number between 0 and 1.Alternatively, could I use @java? Something like @java(Math.Random()) -- although that syntax is wrong because it doesn't validate. Many thanks.***Updated by moderator: Marissa to update categories*** Data Integration ×Close popoverFacebookTwitterLinkedinEmail Copy Link Copied! Moderation Team has archived post This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question. Posted: 4 years agomorem PEGA replied to DirkB308Is this randomness intended for statistical purposes like data sampling or for cryptographical purposes like key generation? Posted: 4 years agoDirkB308 Accenture replied to DirkB308statistical purposes Accepted Solution Posted: 4 years agoKevinZheng_GCS PEGA replied to DirkB308check out engine API Random rdm = tools.getThread().getSystemRandom(); Review the methods in Random interface from Pega Engine API javadoc.