Solved

Flash Numeric Stepper AS3

Posted on 2010-11-25
4
640 Views
Last Modified: 2012-05-10
Hi,

How do I set the output value of the numeric stepper to show to two decimal points? e.g 3.85 currently showing as 4.

Many thanks,
Dan
0
Comment
Question by:danzzz
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 1

Accepted Solution

by:
Isu_the_Mule earned 500 total points
ID: 34214669
Math.round(3.84755*100)/100 will round 3.84755 to 2 decimal points (3.85)
0
 
LVL 17

Expert Comment

by:deepanjandas
ID: 34302089
Set the stepSize as 0.05 to get two decimal points.

Warm Regards
Deepanjan Das
http://deepanjandas.wordpress.com/
0
 
LVL 37

Expert Comment

by:CyanBlue
ID: 34824216
This question has been classified as abandoned and is being closed as part of the Cleanup Program. See my comment at the end of the question for more details.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Failed download 57 580
Flash builder 4.13 list scroller does not work 1 53
Cannot install Adove Flash player on Windows 2012R2 6 105
File conversion question 5 131
I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
The goal of the tutorial is to teach the user how to how to record live broadcast.

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question