Saving Decimal Values in Tables - How?

H

HarryJ

I have a table where I am trying to save decimal values (i.e. 2.4, 3.5, 17.9,
etc.). The field is setup as follows:
Field Size: Long Integer
Format: Fixed
Decimal Places: 1
Input Mask: (Blank)
Caption: Duration(Hrs)

The problem is that when I input 4.5, the table shows and saves 4.0

What am I doning wrong?

Thanks.
 
F

fredg

I have a table where I am trying to save decimal values (i.e. 2.4, 3.5, 17.9,
etc.). The field is setup as follows:
Field Size: Long Integer
Format: Fixed
Decimal Places: 1
Input Mask: (Blank)
Caption: Duration(Hrs)

The problem is that when I input 4.5, the table shows and saves 4.0

What am I doning wrong?

Thanks.

Your Field Size is Long nteger.
By definition, an Integer is a whole number; No decimals.

Change the Field size to single or double.
 

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