Hi list,

example 1 :

  put 1.8 into myA
  put trunc(myA * 100) into myA

  in that case, myA=180    which is OK
------------------

example 2 :

  put 34.2 into myA
  put 36 into myT

  if myA > 0 then
    if myA < myT then
      get myA
      put myT - myA into myA
      put it into myT
    else
      put 0 into myA
    end if
  end if

  put trunc(myA * 100) into myA

  in that case, myA=179    ?????????????????????


Best,
JB

_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to