Results 1 to 2 of 2
  1. #1
    Ruegen's Avatar
    Ruegen is offline VIP
    Windows 8 Access 2010 64bit
    Join Date
    Jul 2013
    Location
    Australia
    Posts
    1,496

    Best way to store a percent value?

    I have a table to store tax rates - 10% would about to 0.1 so I am guessing I store it as a double so that I have the decimal.



    However I put this on the form and I have a text box formated with general number - it gives me the option of placing it to two decimal but is there a way to show it as a double as it keeps rounding it (.1 goes to 0)

  2. #2
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    If you are using an unbound control, perhaps the solution is to use something like #.000 in the format property. Or, maybe, use a DLookup function to grab the actual value and also the Fixed option in the control's format property.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Percent problems
    By rice1973 in forum Programming
    Replies: 1
    Last Post: 09-02-2014, 05:36 PM
  2. Replies: 24
    Last Post: 07-08-2014, 08:58 PM
  3. Replies: 9
    Last Post: 04-01-2014, 05:06 PM
  4. percent
    By blackstatic42 in forum Access
    Replies: 4
    Last Post: 06-02-2013, 10:28 PM
  5. Negative percent on a report
    By bcoots in forum Reports
    Replies: 2
    Last Post: 01-05-2012, 03:05 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums