• Rounding Problem (Access 2000)

    Author
    Topic
    #395730

    There must be an option setting somewhere I can’t find because no matter what number I enter (either into a form or the table directly), it gets automatically rounded either up or down. The field is Number, Long Integer, Standard format, with Decimal places set to 2.

    If I enter 3.41, I want it to stay 3.41 and not get rounded down to 3.00. (3.51 gets rounded up to 4.00). I’m probably being blind so I would appreciate somebody opening my eyes for me.

    Thanks.

    Viewing 1 reply thread
    Author
    Replies
    • #736685

      Integer means “whole number”, so your field doesn’t hold any decimals. If you want numbers with decimals, you have three options:

      Numeric, Single Precision (floating point, stores about 7 significant digits)
      Numeric, Double Precision (floating point, stores about 15 significant digits)
      Currency (fixed point, stores about 19 significant digits, of which 4 after the decimal point)

    • #736686

      Integer means “whole number”, so your field doesn’t hold any decimals. If you want numbers with decimals, you have three options:

      Numeric, Single Precision (floating point, stores about 7 significant digits)
      Numeric, Double Precision (floating point, stores about 15 significant digits)
      Currency (fixed point, stores about 19 significant digits, of which 4 after the decimal point)

    Viewing 1 reply thread
    Reply To: Rounding Problem (Access 2000)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: