Jump to content

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...