on startMovie
    set the floatPrecision = n
end

--n is the number of decimal places included

Alberto

Gene Fritzinger wrote:

> Hi List,
> I have a field member which is populated with "0.0000" when first clicked.  This 
>field is representing a dollar amount. As the user types in a new dollar amount, I 
>want this dollar amount to always include 4 decimal places.  So if the user types in 
>any number, that number should appear to the left of the decimal point.  When they 
>enter a period, that period should replace the decimal point already iin the field. 
>Then any numbers entered after that should appear to the right of the decimal point, 
>and should always include 4 decimal places. (Ex, 12.7500, or 2.9900, or 127.1000).  
>Does anyone have a suggestions as to the best way to acheive the effect?
>
> Thanx in advance,
> g fritzinger
>
> [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!]


[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!]

Reply via email to