Results 1 to 3 of 3
  1. #1
    tonygg is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2015
    Posts
    115

    Percentage Headaches

    Hi. I am trying to do something simple but just failing completely.

    I have 2 currency amounts stored as doubles. One is total sales. The other is total commission paid. I am dividing commission paid (65.24) by the total sales (1983.54) to get the commission percent. However it just comes out with a random amount. I guess its because I am using doubles.



    Please could someone let me know the trick to be able to either store the numbers differently to get % to work or create a % from them.

    Thank you so much

    Tony

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,641
    Double should be fine. Can you post the db here?
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    alansidman's Avatar
    alansidman is offline Indifferent
    Windows 7 32bit Access 2013
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,536
    Where are you attempting this calculation? Form? Query?

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

Similar Threads

  1. Percentage
    By azhar2006 in forum Queries
    Replies: 3
    Last Post: 11-15-2014, 02:22 PM
  2. Return a Percentage
    By alecmat in forum Access
    Replies: 3
    Last Post: 08-07-2013, 08:06 PM
  3. Replies: 0
    Last Post: 06-19-2012, 12:39 PM
  4. Calculating a Percentage
    By Alaska1 in forum Access
    Replies: 7
    Last Post: 12-13-2010, 05:57 PM
  5. percentage in a query
    By Peljo in forum Access
    Replies: 2
    Last Post: 02-27-2008, 10:51 AM

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