Solved

Flash Numeric Stepper AS3

Posted on 2010-11-25
4
630 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
Comment Utility
Math.round(3.84755*100)/100 will round 3.84755 to 2 decimal points (3.85)
0
 
LVL 17

Expert Comment

by:deepanjandas
Comment Utility
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
Comment Utility
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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
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 select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.

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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now