
Welcome Guest
|
|
|
#1
|
||||
|
||||
|
Trimming the... Number?
If I have a value "-2.57282770" which is a percentage of change how can I round up to the nearest tenths?
"-2.57282770" to "-2.57%" |
|
#2
|
||||
|
||||
|
*100
int /100 then add the %. :-) swoop |
|
#3
|
||||
|
||||
|
... I need to stop and sleep...
My brain isn't working today... I'm in a slump... thanks brain number 2.... err I mean Swoop
|
|
#4
|
||||
|
||||
|
He he, don't worry - happens to me all the time!
when I was trying to do something similar for a timer a little while ago my boss told me there is a float command in perl which would do that a lot simpler. I have been hopeing since then that they would add it into flash! swoop |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Using Math functions for variables | Smirgu | Flash 8 |
7 | 05-24-2009 05:50 AM |
| Actionscript not incrementing number | vertmonkee | Newbies |
1 | 07-18-2008 01:44 PM |
| Converting a string into a number var | Rantanplan | Actionscript 2.0 |
3 | 03-23-2006 03:14 PM |
| convert obj to number | dumbmonk | Flash MX ActionScript |
1 | 02-01-2004 07:12 PM |
| typeof... string to number | dv8 | Flash 5 Actionscript |
5 | 10-16-2001 08:55 AM |




