Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | RE: FLASH: flash 4: more charactres than defined in textbox |
| From: | Paul Willoughby |
| Date: | Tue, 24 Oct 2000 16:38:09 +0100 |
kristoff wrote on 24 October 2000:
> How would I avoid flash changing figures like 90 into
> 89.4564138799 etc?
Use Int(myNumberOrVariable) to convert a number (89.4564138799) to an
integer (89). For rounding numbers, check out this old and valuable post
from Damien Morton...
>round to nearest number is 'int(x+0.5)'
>round to nearest 10s is (int((x/10) + 0.5)*10)
>round to nearest 100s is (int((x/100) + 0.5)*100)
hth
paul
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NudeGuru.com is proud to sponsor the Flasher list
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
IT'S THE ART OF MONEY, HONEY!
Tips and Advice from some of the most popular Flash
artists + industry power-brokers on how to hold onto
your rights, negotiate contracts and get full value
for your work.http://www.nudeguru.com from Franke James
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email help
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

