Writing an equation in a form field

vangogh228

Registered User.
Local time
Today, 18:13
Joined
Apr 19, 2002
Messages
302
I am trying to write a sum equation of three other fields. However, each of those fields is a decimal, and I need to sum only the whole number of each. In other words, if the field reads "3.8" I want only the "3" and not the ".8" to be added. This is true for all three fields to be added.

Any help would be greatly appreciated !!

Tom
 
int(myNumber1) + int(myNumber2)

???
kh
 
Easy enough. Works perfect. I was looking for "integer" in the help but couldn't find it.

THANKS!

Tom
 
:) cool

I get lucky every now & then....

kh
 

Users who are viewing this thread

Back
Top Bottom