# In game currency

**URL:** <https://forum.choiceofgames.com/t/in-game-currency/26460>\
**Category:** ChoiceScript Help\
**Created:** [May 8, 2017, 10:12am UTC](https://forum.choiceofgames.com/t/in-game-currency/26460 "2017-05-08T10:12:12Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![CJW](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/cjw/32/111787_2.png) [@CJW](https://forum.choiceofgames.com/u/CJW)\
**Post date:** [May 8, 2017, 6:37pm UTC](https://forum.choiceofgames.com/t/in-game-currency/26460/11 "2017-05-08T18:37:32Z")

</div>

As mentioned, the modulo operator can make this quite easy. Here’s a simplistic example I posted in a similar thread: [New game - code advice regarding Wealth/Currency](https://forum.choiceofgames.com/t/new-game-code-advice-regarding-wealth-currency/1459/22)

---

_[View the full topic](https://forum.choiceofgames.com/t/in-game-currency/26460)._
