You are reading a single comment by @Wilberforce and its replies. Click here to read the full conversation.
  • is it correct that with the code below e.time and e.lastTime are rounded to 3 decimal places

    It could just be the way they are converted to strings more than anything else. It's actually surprisingly hard to come up with a good set of rules for outputting floating point numbers as strings without doing things like accidentally outputting 0.999999 instead of 1.

    I should look at using the C library functions again - when I started the library functions pulled in loads of extra code and memory usage so I had to write my own, but the situation may have improved now.

    I guess if you multiply by 1000 you find you've got all the information there.


Avatar for Wilberforce @Wilberforce started