# Rounding Precision

**URL:** https://forum.kirupa.com/t/rounding-precision/182009
**Category:** flash
**Created:** [March 14, 2006, 9:18pm UTC](https://forum.kirupa.com/t/rounding-precision/182009 "2006-03-14T21:18:28Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![mistoflight](https://avatars.discourse-cdn.com/v4/letter/m/977dab/32.png) [@mistoflight](https://forum.kirupa.com/u/mistoflight)
#### Post date: [March 14, 2006, 9:18pm UTC](https://forum.kirupa.com/t/rounding-precision/182009/1 "2006-03-14T21:18:28Z")

</div>

Im doing a lot of experiementing and work on 3D graphing. See [Link](http://www.mistoflight.com/). I am working on getting my depth sorting to display perfectly right now so is there any way in flash to round a number such as 5.245 to 5.25 instead of the standard 5 that Math.round gives me?

Thanks,  
Trevor
