I am looking to determine if a variant created from a string is a whole number.
Here's a test script:
dim v as variant
v = "42"
if v <> round(v) then
msgBox("<>")
end if
The msgBox pops up, probably because the variant was created from a string, although I would have expected v to be = round(v).