While looking at some old code, I found surprising behavior in my IDE.
I found
value = -1000.25623!
in the code. I changed the value to
-1000.25626
and it automatically changed to
-1000.25629
.
I tried to search what it could be with no success. Then I suddenly pointed at
!
and found the tooltip.
Single
Represents a single-precision floating-point number.
So
!
was representing a single value. The above line represents the following block.
Dim temp As Single
Dim value As Double
temp = -1000.25626
value = temp
More
Type Characters[
^] [Thanks to
Dave[
^]]
*It may not be a tip/trick, but it is definitely the piece worth sharing.