Excellent thanks chaps.
I've just pulled down the latest code base and all seems to be working again.
We get this in a few spots, I suspect it is where numbers are very large.
We just updated to 0.5.5. Before this that NaN (Not a Number) was just blank. So it is a move in the right direction, I suppose.
Can you get the category id and post the output of the following?