Results 1 to 4 of 4
  1. #1
    swagger18 is offline Novice
    Windows XP Access 2003
    Join Date
    Jan 2011
    Posts
    19

    Removing Trailing Numbers


    Apoligises if this has been asked already.

    I have coded a formulae on Access that i have imported from Excel but made tweaks where necessary.

    The formulae is correct but i have about 27 trailing numbers e.g. 7.7xxxxxxxxxxxxxxxxxxxxxxx how can i get rid of these numbers.

    Cheers in advance

  2. #2
    NoellaG's Avatar
    NoellaG is offline VIP
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Jun 2010
    Location
    Belgium
    Posts
    1,044
    Hi,

    you can use the Round function if you really want to limit the number to the given decimals: Round(Number,Number of digitals)

    or the Format function if you want to keep all decimals but just show it with less decimals: Format(Number, "Format expression")

    gr
    NG

  3. #3
    swagger18 is offline Novice
    Windows XP Access 2003
    Join Date
    Jan 2011
    Posts
    19
    Cheers geeze i will look into them this afternoon.

  4. #4
    swagger18 is offline Novice
    Windows XP Access 2003
    Join Date
    Jan 2011
    Posts
    19
    Cheers man for your input but i changed the properties of the field in SQL to decimal(2, 1) and it seemed to work.

    Your Round expression worked for me to solve another problem tho so thank you.

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

Similar Threads

  1. Trailing Spaces workaround
    By shexe in forum Queries
    Replies: 23
    Last Post: 09-21-2010, 04:28 AM
  2. Removing parameters
    By katrinanyc926 in forum Reports
    Replies: 1
    Last Post: 08-04-2010, 04:24 PM
  3. Checking for trailing letter
    By jgelpi16 in forum Queries
    Replies: 2
    Last Post: 03-23-2010, 09:27 AM
  4. Removing all letters or all numbers from string
    By Hayley_sql in forum Programming
    Replies: 2
    Last Post: 09-16-2009, 02:01 AM
  5. Replies: 9
    Last Post: 07-16-2009, 09:13 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