Funny notation with #

后端 未结 4 1993
臣服心动
臣服心动 2020-12-15 23:07

what does this mean?

if CDbl(Trim(Range(\"M\" & r).Text)) > 0# then...

what does the # do?? and what does cdbl do?

4条回答
  •  遥遥无期
    2020-12-15 23:24

    Visual Basic uses the pound sign (# ) to indicate double-precision values. So 0# enforces to treat this constant as of type double. CDbl converts expression to double type. * Double means double precision floating point.

提交回复
热议问题