Help with Decimal.

F

Floyd Forbes

Is there way to to show the decimal places only. For example I have 43.78,
but I only want
78 to show in the field. Is there a way to do this?

Thanks
 
B

bhicks11 via AccessMonster.com

How about parsing it out with (replace mvar with your field or control name):

Set the value of the control or query column as: mid(mvar,instr(mvar,".")+1,
2)

This is assuming there are two decimal places.

Bonnie
http://www.dataplus-svc.com
 
J

John W. Vinson

Is there way to to show the decimal places only. For example I have 43.78,
but I only want
78 to show in the field. Is there a way to do this?

Thanks

What's the context? What's the datatype of the field? Where do you want to
show it? How many decimals - might you have 43 (displayed as blank, 0, or 00)?
how about 43.1215418122 (displayed as 1215418122)?

More info please!
 
Top