# Rounding off a variable

**URL:** https://forum.kirupa.com/t/rounding-off-a-variable/118757
**Category:** Uncategorized
**Created:** [August 9, 2004, 12:26am UTC](https://forum.kirupa.com/t/rounding-off-a-variable/118757 "2004-08-09T00:26:21Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Someguy5](https://avatars.discourse-cdn.com/v4/letter/s/73ab20/32.png) [@Someguy5](https://forum.kirupa.com/u/Someguy5)
#### Post date: [August 9, 2004, 12:26am UTC](https://forum.kirupa.com/t/rounding-off-a-variable/118757/1 "2004-08-09T00:26:21Z")

</div>

I am trying to multiply a variable by 1.5, but when i do it does not return a whole number, i have tried math.round(variable) but it still doesn’t round it off, can anyone help please?
