ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   is 0 an integer? (https://www.excelbanter.com/excel-programming/389392-0-integer.html)

Max Bialystock[_2_]

is 0 an integer?
 
is 0 an integer?


merjet

is 0 an integer?
 
type the following in the Immediate Window, then hit Enter.

?Typename(0)

The response I got was: Integer

Hth,
Merjet






Chip Pearson

is 0 an integer?
 
Yes, zero is an integer, mathematically speaking. In VBA, a 0 value may be
an Integer, a Long, a Single, or a Double, depending on the context in which
it is used.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting LLC
www.cpearson.com
(email on the web site)

"Max Bialystock" wrote in message
...
is 0 an integer?





All times are GMT +1. The time now is 07:34 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com