Results 1 to 3 of 3
  1. #1
    ironfelix717 is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Oct 2018
    Posts
    150

    Help with high precision currency field, unbound

    Hi,



    I am having annoying struggles with writing a 6 place decimal precision currency to my table. I cant get the field properties right for some reason.

    The details are...

    Unbound textbox with the properties of
    Format: currency
    decimal places: 6

    With the field properties being
    Type: currency
    decimal places: 6
    Format: BLANK

    I've tried a number of things but usually the number is rounding...

    What properties for the field should be set so that a currency field always takes on a 6 place decimal.

    Example:

    User types ".06" into textbox, which auto formats to $.060000

    The table is written to and that corresponding field gets exactly that textbox currency value.

    Thanks for the help,

    Regards

  2. #2
    Join Date
    Apr 2017
    Posts
    1,792
    From Currency data type definition:
    Currency variables are stored as 64-bit (8-byte) numbers in an integer format, scaled by 10,000 to give a fixed-point number with 15 digits to the left of the decimal point and 4 digits to the right.

    Use Numeric (Standard) instead!

  3. #3
    ironfelix717 is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Oct 2018
    Posts
    150
    Hi, thank you, numbers i will do!

    Thanks

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

Similar Threads

  1. Replies: 5
    Last Post: 01-30-2015, 02:45 PM
  2. decimal field's precision too small
    By Newby in forum Access
    Replies: 3
    Last Post: 02-05-2013, 12:13 PM
  3. Creating a filter using double precision numbers
    By memberFDIC in forum Queries
    Replies: 2
    Last Post: 12-20-2011, 04:25 PM
  4. Double Precision
    By geoff.g in forum Import/Export Data
    Replies: 1
    Last Post: 08-08-2011, 08:26 PM
  5. Replies: 2
    Last Post: 03-23-2011, 11:43 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