Yes, the val() used in the function is there because CF is type less.  Thus your function could receive a string just has happily has an integer or a float as a parameter.  The val() function prevents the math from blowing up if it receives a string instead of a numeric value.  It would cause all non-numeric values to become 0.

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message.
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to