?
Solved

Flash Numeric Stepper AS3

Posted on 2010-11-25
4
Medium Priority
?
651 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 2000 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

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…
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
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.

765 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