Solved

get decimal

Posted on 2006-07-21
2
189 Views
Last Modified: 2008-02-01
so if I have 5.2 it will return 2 or if I have 5 it will return 0 ect. I think there is a command in flash but if not how could I make a function to do it.

Max
0
Comment
Question by:TheMaximumWeasel
2 Comments
 
LVL 49

Accepted Solution

by:
Roonaan earned 500 total points
ID: 17157375
function getDecimal(num) {
    return num - Math.floor(num);
}

-r-
0
 
LVL 4

Author Comment

by:TheMaximumWeasel
ID: 17157888
thanks

Max
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

This is intended to introduce all collision detection principles in flash, their strengths, weaknesses and workarounds. The main method for Collision Detection in flash is using hitTestObject. But unless you'll be pushing rectangular shapes without …
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 set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

705 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

20 Experts available now in Live!

Get 1:1 Help Now