Oops, made a small error in my previous example. The corrrected code would be:

  dim num as double

  num = 123.1456
  num = num - (ceil(num) - 1)

  if num > 0 then
    //double (fractional part exists)
  else
    //integer
  end if



On Jan 20, 2006, at 2:30 AM, E. Tejkowski wrote:

  num = 123.456
  num = (ceil(num) - 1) - num

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to