dcsimg
www.webdeveloper.com
Results 1 to 3 of 3

Thread: Perl Division Problem

  1. #1
    Join Date
    Mar 2008
    Posts
    49

    Perl Division Problem

    Hi gurus .. I Dont know why but its giving ZERO result for Division ... Its kind of Type problem .. Never happened to me in perl at least ..

    What should I do?

  2. #2
    Join Date
    Oct 2007
    Location
    Vienna, Austria
    Posts
    393
    First, why do you post two threads? Second, be specific. What exactly do you do and how exactly does it give you zero? Show the code and how you invoke it.

  3. #3
    Join Date
    Nov 2002
    Location
    England
    Posts
    693
    At a wild stab in the dark I would say that you are using the modulus '%' operator instead of the division '/' operator.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles