Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: FLASH: Make number to 2 decimal places.. HELP!
From: frank pichel
Date: Mon, 11 Sep 2000 18:25:33 +0100

Chris

Use the substring expression - it puts a substring out of a string of
characters.

Substring ( string, index, count )

in it:
string is equal to a variable name
index is the character you want to use (over from the left, I believe)
count is the number of characters you want to extract

for your example

Set Variable: "little_number" = Substring (big_number, 3, 2 )

so you will output little_number now instead of big_number

frank


> Hi guys.
>
> Just joined this list, so be gentle.
>
> Basicaly im using Flash 4 for a couple of loan company clients. By using
the
> FS commands i can make flash do some pretty cool equations that would make
> any math nerd drool lol.
>
> However I'm having the problem that because of the equation it leaves
allot
> of digits after the decimal point.
> I.e
> Output = 12.455555555
>
> If I could get that figure to two decimal points, I would be VERY happy as
> it would make the whole thing far more polished looking.
>
> Any help/ ideas you can give would be fantastic.
>
> Thanks
> Chris Mc
> chrismcatbip-ltd [dot] co [dot] uk



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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 helpatchinwag [dot] com


Replies
  Re: FLASH: Make number to 2 decimal plac, Helen Triolo

Replies
  Re: FLASH: Free Flash FAQ needs your con, Helen Triolo
  RE: FLASH: Free Flash FAQ needs your con, Gabriel Mulzer
  FLASH: Make number to 2 decimal places.., ChrisMc

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]