User Profile

Collapse

Profile Sidebar

Collapse
haochen89
haochen89
Last Activity: Jan 23 '08, 04:25 PM
Joined: Jan 23 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • haochen89
    replied to Perl math question
    in Perl
    I found a simliar question in perlmonks.com.H ere is the link to that question:
    http://www.perlmonks.c om/index.pl?node_i d=293402

    Thanks for help!
    See more | Go to post

    Leave a comment:


  • haochen89
    started a topic Perl math question
    in Perl

    Perl math question

    Hi,

    When I do this in Perl:

    if ((35/26) == (0.35/0.26)) {
    print "equal\n";
    }
    else {
    print "not equal\n";
    }

    I got "not equal". Does anyone know why? and solution?

    Thanks,

    Hao
    See more | Go to post
No activity results to display
Show More
Working...