Jump to content
  • Status Definitions

    Pending = We have not yet reviewed the report.

    Unconfirmed = We have acknowledged the submission but have not yet confirmed whether or not the bug exists.

    Confirmed = We've reviewed the bug report and found the source of the error. Fix imminent.

    Fixed = The issue has been fixed and/or implemented and should be pushed live shortly if it hasn't been already.

    Closed = Reports that we cannot reproduce or need more information. In this case just add a comment and we will review it again.

     

    Disable any custom modifications to your browser, clear cache and cookies, and perform necessary updates before submitting a bug.

Avg price check shows "nan"


Zoltan
  • Fixed



User Feedback

Recommended Comments

  • Developers

I can't replicate this nor see how it could be occurring. I've only ever seen 'nan' in the context of JavaScript, but those values are generated directly in PHP where they shouldn't even be possible (nan = Not A Number, when you try to perform number functions on a string. PHP typically just forces it to be a number in this case).

Are you still seeing this, and if so is it just on this one company?

Link to comment
Share on other sites

  • Developers

Looks like the issue was that company hasn't bought any resources in a long time (probably since I don't think the company type is finished). This was causing a divide by zero error when calculating avg cost. Fix will be in this month's update (should be working now on beta).

  • Like 1
Link to comment
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...