On Feb 10, 2008 10:03 AM, Richard Gaskin <[EMAIL PROTECTED]> wrote:

>
> function logicalTrunc n
>   if n is not a number then return "NAN"
>   get offset(".", n)
>   if it > 0 then
>      delete char it to -1 of n
>   end if
>   return n
> end logicalTrunc
>
> or

function anotherLogicalTrunc n
  if n is not a number then return "NAN"
  set the itemDelimiter to "."
  return item 1 of n
end anotherLogicalTrunc
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to