# Need help with this floating number

**URL:** <https://forum.kirupa.com/t/need-help-with-this-floating-number/231109>\
**Category:** Uncategorized\
**Created:** [July 2, 2007, 9:47am UTC](https://forum.kirupa.com/t/need-help-with-this-floating-number/231109 "2007-07-02T09:47:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pixeldude](https://avatars.discourse-cdn.com/v4/letter/p/57b2e6/32.png) [@pixeldude](https://forum.kirupa.com/u/pixeldude)\
**Post date:** [July 2, 2007, 9:47am UTC](https://forum.kirupa.com/t/need-help-with-this-floating-number/231109/1 "2007-07-02T09:47:16Z")

</div>

Hi there…

Okay just a quick shoot … how to round this operation so the result will be  
\*\*7.20

\*\*and this what I have so far…

```auto

stop();

var basicsalary:Number;

basicsalary = 1502.09;
theresult = basicsalary*0.00479233226837061

trace(theresult);//output = 7.19851437699681

//should be 7.20 round the 2 digit after the floating point...

```

Really need help withthis…sorry for being such novice…

thanks in advanced
