dim tmpA (tmpA是一个控件的.Left,类型为Variant/single)实际数据为1234.05dim tmpB as Long当tmpB=tmpA后,tmpB的数据变成1234了,这就是数据类型不匹配造成的。