Val() Function (?)

C

croy

In the Help file for Access 2002, I find this explanation
for the Val function:


"Returns the numbers contained in a string as a numeric
value of appropriate type."


I understand it up to the point of "appropriate type".

What does that mean?

Thanks,
croy
 
S

Stefan Hoffmann

hi,
I understand it up to the point of "appropriate type".
What does that mean?
It's about the string represention of numbers, e.g.

Val("16") = Val("&H10") = 16

Val() can handle


mfG
--> stefan <--
 
J

John W. Vinson

In the Help file for Access 2002, I find this explanation
for the Val function:


"Returns the numbers contained in a string as a numeric
value of appropriate type."


I understand it up to the point of "appropriate type".

What does that mean?

It means that Val("16") will return an Integer 16, whereas Val("16.255") will
return a Float 16.225.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top