on 6/12/01 11:44 AM, Tim Forster at [EMAIL PROTECTED] wrote:
>
> Rodrigo,
> Try using the integer() command.....
>
> -- Welcome to Director --
> x = member("value_x").text
>
> put x * 30
> -- 30000.0000
>
> put integer(x * 30)
> -- 30000
>
> HTH
>
> Tim
>
> ----------------------------------------
>
>
> Dear list
> I'm really bad with math :-(
> I have this:
> x = member("value_x").text --x = 1000
> put x * 30
> -- 30000.0000
>
> how can I make this without precision, i mean, the zeros????
> Thank's in advance
> Rodrigo Peres
>
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
>
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
> email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
> Lingo-L is for learning and helping with programming Lingo. Thanks!]
>
Thank's Tim and all
I think the problem is getting bigger :-(
look this
put 30*(1+(50/100))
-- 0
How can I make director calculates 50/100 for example???
Rodrigo Peres
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]