# AS2 math question. Show whole # + 1 decimal

**URL:** <https://forum.kirupa.com/t/as2-math-question-show-whole-1-decimal/270437>\
**Category:** flash\
**Created:** [September 9, 2008, 10:20pm UTC](https://forum.kirupa.com/t/as2-math-question-show-whole-1-decimal/270437 "2008-09-09T22:20:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bobcahill](https://avatars.discourse-cdn.com/v4/letter/b/6f9a4e/32.png) [@bobcahill](https://forum.kirupa.com/u/bobcahill)\
**Post date:** [September 9, 2008, 10:20pm UTC](https://forum.kirupa.com/t/as2-math-question-show-whole-1-decimal/270437/1 "2008-09-09T22:20:10Z")

</div>

I can’t remember how to do this. I have a set of numbers that are esentailly like follows:

323.3434456764  
4.349075639  
5654.64547290477347

I need to truncate the number to show the whole number as well as the first decimal value. So like Math.floor, but truncating one decimal place.
