the floatPrecision =2



At 05:43 PM 8/10/02, Beertje wrote:
>One last question, how do I keep the decimal points to 2 ?
>----- Original Message -----
>From: "Buzz Kettles" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Saturday, August 10, 2002 17:34
>Subject: Re: <lingo-l> Crazy numbers
>
>
> > try using: the value of field
> >
> > instead of: the text of field
> >
> > reason:
> > the text of field is a string
> > the value of field is the number
> >
> > you want to add, so you need numbers
> >
> > hth
> >
> > -Buzz
> >
> > At 5:12 PM -0400 8/10/02, you wrote:
> > >I am using the following script to add the text of field and I am getting
> > >some crazy numbers.
> > >
> > >on mouseUp
> > >   put the text of field "Cost1" + the text of field "Cost2" into field
> > >"Total"
> > >   updateStage
> > >end
> > >
> > >The field "Cost1" is 27935 and the field "Cost2" is 5500 and field "Total
>is
> > >showing 1236921976.0000
> > >
> > >What am I doing wrong here?
> > >
> > >Thanks in advance,
> > >
> > >George Carlile
> > >[EMAIL PROTECTED]
> > >
> > >[To remove yourself from this list, or to change to digest mode, go
> > >to http://www.penworks.com/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!]
> >
> > [To remove yourself from this list, or to change to digest mode, go to
>http://www.penworks.com/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!]
> >
>
>[To remove yourself from this list, or to change to digest mode, go to 
>http://www.penworks.com/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!]

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/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!]

Reply via email to