Solved

Flash Numeric Stepper AS3

Posted on 2010-11-25
4
637 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
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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

This is a very simple example to help those of you who are still migrating from AS2 to AS3 understand the redesigned event model in AS3. In AS2.0, event functions (that is, the function to be performed when an event is fired) were stored as a pro…
Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.

772 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