| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
css is for divs
Join Date: Feb 2003
Location: Norwich
Posts: 4,524
|
Too many decimals
Hello all, I've got a dynamic text field in Flash that displays the results of a variable equation, the problem is it shows the results to about 5 decimal places! I'm sure this is very simple to sort out, but I've forgotten how to make sure that the result (in the text field) is rounded up to a whole number. Cheers, James |
|
|
|
|
|
#3 (permalink) |
|
css is for divs
Join Date: Feb 2003
Location: Norwich
Posts: 4,524
|
well it kind of works (shortening the text field) but it doesn't work when the numbers change from 1, to 2 or 3 figured numbers - seems a bit cowboy! Thanks though Last edited by sleepingfish : 12-06-2003 at 08:48. |
|
|
|
#6 (permalink) |
|
Dr. Lucien Sanchez
Join Date: Mar 2003
Location: UK
Posts: 5,628
|
Does no one ever use google? Look at the first link, you lazy bastards. |
|
![]() |