A bunch of variables defined in VB cannot be written like this. Each variable should be written as varname as vartype, or the characters should be declared with type.
Dim a, B, C, D, E, F, G and H are integers, so only H is an integer, others are variants, and variants can store anything, including decimals.