---
title: "Discussion on \"Choose a Winner at Random: The Salesforce Way (Part 2)\" | Hashnode"
description: "Discussion on \"Choose a Winner at Random: The Salesforce Way (Part 2)\". How to use the apex random function to generate a random number between a lower and upper value"
url: "https://hashnode.com/posts/choose-a-winner-at-random-the-salesforce-way-part-2/65046bb3532048af4ed83168"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Choose a Winner at Random: The Salesforce Way (Part 2)](https://salesforceadriaan.hashnode.dev/choose-a-winner-at-random-the-salesforce-way-part-2?utm_source=hashnode&utm_medium=feed)

How to use the apex random function to generate a random number between a lower and upper value

Sep 15, 2023 · 2 min read · salesforceadriaan.hashnode.dev  
Read the article

-   [#salesforce](https://hashnode.com/tag/salesforce)
-   [#salesforce-crm](https://hashnode.com/tag/salesforce-crm)
-   [#apex](https://hashnode.com/tag/apex)
-   [#salesforce-development](https://hashnode.com/tag/salesforce-development)
-   [#salesforce-developer](https://hashnode.com/tag/salesforce-developer)

## Written by

[Adriaan Van Niekerk](https://hashnode.com/@salesforceAdriaan)

@salesforceAdriaan

  
[View profile](https://hashnode.com/@salesforceAdriaan)

Salesforce Admin that learns by doing and want to share the knowledge with everyone

Salesforce Admin and Flow builder enthusiast! Learning Apex and sharing my journey with #100DaysOfSalesforce

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
