I'm amazed at how long I've gone with the misconception that:<br>Exact Numbers = Integers union Rationals<br>Inexact Numbers = Floating Point numbers<br>(Frankly, I never really thought much about what infinities were. I assumed they were a separate, distinct type).<br>
<br>When I saw in the docs for round that it returns an integer, and I was getting an inexact number, I was sure it was a mistake. Thanks for helping me straighten out my thinking on this. I can see how you might want to test an inexaxct number for whether it is the floating point approximation of an "integer", so that makes sense. Still seems weird and inconvenient for round to give you back an inexact integer rather than an exact one, but I can see now how this behavior matches the standard.<br>
<br>Thanks,<br><br>Mark<br><br>