Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6773989
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T15:44:01+00:00 2026-05-26T15:44:01+00:00

this is the facts I entered in the knowledge base and average takes a

  • 0

this is the facts I entered in the knowledge base and average takes a list and returns the result but when i pose the query

“average([],X).”

it returns X=0 then when i press ; it gives me zero divisor error and I dont understand why,I tried posing the following 4 facts in the KB

average(0,0).

average([],0).

average(0/0,0).

average(0,0/0).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T15:44:01+00:00Added an answer on May 26, 2026 at 3:44 pm

    I’m not sure what you trying to achieve by writing 0/0 (as a matter of fact I’m not sure what any of the facts other than average([],0). are there for), but clearly dividing 0 by 0 will cause a division by zero error.

    So that’s your problem. Remove the occurrences of 0/0 and the error will disappear.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been hearing conflicting facts about this topic. What is correct?
I have a dimension (SiteItem) has two important facts: perUserClicks perBrowserClicks however, within this
this is my Main class which belongs to the server application! but it is
I have a query which goes like this: StockAnalytics.uDIX - StockAnalytics.dDIX > 0.5 AND
I have a table with arbitrary columns and rows. This fact is irrelevant though
The associativity of stream insertion operator is rtl, forgetting this fact sometimes cause to
I have to preface this with the fact that I love jQuery as a
I always found this rather annoying fact about applets, that they disappear if you
Alright, I'll preface this with the fact that I'm a GTK and Python newb,
This snippet throws an NullPointerException due to the fact that its unboxed to a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.