[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 666
  • Last Modified:

Flash Numeric Stepper AS3

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
danzzz
Asked:
danzzz
1 Solution
 
Isu_the_MuleCommented:
Math.round(3.84755*100)/100 will round 3.84755 to 2 decimal points (3.85)
0
 
deepanjandasCommented:
Set the stepSize as 0.05 to get two decimal points.

Warm Regards
Deepanjan Das
http://deepanjandas.wordpress.com/
0
 
CyanBlueCommented:
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

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now