System.DivideByZeroException, What does this error means?"

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • peachdot
    New Member
    • Aug 2010
    • 20

    System.DivideByZeroException, What does this error means?"

    hi,

    Has anyone ran into this error? please help.


    System.DivideBy ZeroException: Attempted to divide by zero.
    at Caller.Call
    at BuiltinFunction Caller<System._ _Canon,System._ _Canon,System._ _Canon,System._ _Canon,System._ _Canon,System.I nt32>.Call5
    at System.Dynamic. UpdateDelegates .UpdateAndExecu te7
    at IronPython.Runt ime.Importer.Im port
    at IronPython.Runt ime.Operations. PythonOps.Initi alizeModule
    at PythonMain.Main
  • bvdet
    Recognized Expert Specialist
    • Oct 2006
    • 2851

    #2
    Basically, the error means exactly what it says. A division calculation was attempted where the divisor was 0. On my system, the error looks like this:
    Code:
    >>> 1/0
    Traceback (most recent call last):
      File "<interactive input>", line 1, in ?
    ZeroDivisionError: integer division or modulo by zero
    >>> 1.0/0
    Traceback (most recent call last):
      File "<interactive input>", line 1, in ?
    ZeroDivisionError: float division
    >>>

    Comment

    • peachdot
      New Member
      • Aug 2010
      • 20

      #3
      im running the program in SharpDevelop.so mehow it did not give in which line is the error. really make it difficult to debug. =(

      Comment

      Working...