Re: Val() versus CLng, CInt or CByte



"Steve Gerrard" <mynamehere@xxxxxxxxxxx> schrieb im Newsbeitrag news:Q4ednZ36GKyrLLvanZ2dnUVZ_gWdnZ2d@xxxxxxxxxxxxxx

Val is nice because it it will read a number followed by text, i.e. 23A becomes 23, instead of tossing up an error...

.... which also has a dark side: e.g. Val("23E2") -> 2300, and Val("23E-2") -> 0.23

Don

.



Relevant Pages


Loading