Numerics hate me.

Results 1 to 2 of 2

Thread: Numerics hate me.

  1. #1
    Join Date
    Dec 1969

    Default Numerics hate me.

    <BR><BR>if cdbl(intTemp2) &#062; cdbl(intTemp0) then<BR>    ......<BR>end if<BR><BR>
    <BR><BR>intTemp2=51832.27<BR>intTemp0=51782.128906 25<BR><BR>ok, I give up. What stupid thing am I doing now?<BR><BR>

  2. #2
    Join Date
    Dec 1969

    Default you've got a problem elsewhere

    Copy and paste this into a .vbs file and double click it. It shows the proper result.<BR><BR>Dim intTemp2<BR>Dim intTemp0<BR><BR>intTemp2 = 51832.27 <BR>intTemp0 =51782.12890625 <BR><BR> if cdbl(intTemp2) &#062; cdbl(intTemp0) then <BR> msgbox "yes"<BR>else<BR> msgbox "no"<BR>end if

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts