Off Topic — HabitableZone

Off Topic » in reply to N / 0 = . . . ?

Re: N / 0 = . . . ?

When I went to university, n/0 was just plain bad news...don't do it, don't use it, and most certainly don't code it.

Imagine my surprise when I found that Javascript has a result for it:

n/0 = NaN

where NaN is "Not a Number." Weird construct. It doesn't equal anything, including itself.

Works for me!! :-)

Log in or register to post.

The whole thread (8 posts)