Menu

#3 Hovering over float constants sometimes shows Integer help

open
Editor (1)
5
2008-12-09
2008-12-09
No

If a float constant in a code file is preceded by any whitespace (including NL or tab), hovering over the part of the number before the decimal point pulls up the Integer help file.

e.g.,

1.0 + 2.0

Hover over 2, and you see a popup with "Instance of Integer."

If it is preceded by some punctuation, no popup displays.

[1.0 + 2.0]

Hover over 1, and nothing exciting happens.

Probably both cases should be recognized as floats.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB