# 🆕 Roll Dice & Random Number columns

**URL:** <https://community.glideapps.com/t/roll-dice-random-number-columns/33613>\
**Category:** Ask for Help\
**Created:** [October 26, 2021, 1:58pm UTC](https://community.glideapps.com/t/roll-dice-random-number-columns/33613 "2021-10-26T13:58:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![david](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/david/32/62831_2.png) [@david](https://community.glideapps.com/u/david)\
**Post date:** [October 26, 2021, 1:58pm UTC](https://community.glideapps.com/t/roll-dice-random-number-columns/33613/1 "2021-10-26T13:58:29Z")

</div>

The [Roll Dice](https://www.glideapps.com/plugins/dice) and [Random Number](https://www.glideapps.com/plugins/random) columns add some randomness to your apps!

Here’s an app that flips coins and rolls dice:

![CleanShot 2021-10-26 at 06.55.49](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/2/3/23883776d8d831e3e394547a6b27f3da480cd5b5.gif)

You could also use these columns to randomly partition data, for example, randomly assign 20% of employees to a Red team and 80% to a Blue team.

### Some things I learned this morning when implementing this:

- A coin is a two-sided die.
- Flipping a zero-sided die is undefined.
- Negative-sided die work just as well as their positive counterparts.

---

<div class="post-metadata">

**Author:** ![Wiz.Wazeer](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/wiz.wazeer/32/72423_2.png) [@Wiz.Wazeer](https://community.glideapps.com/u/Wiz.Wazeer)\
**Post date:** [October 26, 2021, 2:18pm UTC](https://community.glideapps.com/t/roll-dice-random-number-columns/33613/2 "2021-10-26T14:18:36Z")

</div>

Wow !
