+ Reply to Thread
Results 1 to 2 of 2

the formatnumber() function does not display decimal numbers that have more than 3 decimal

  1. #1
    Registered User
    Join Date
    08-17-2012
    Location
    Serbia
    MS-Off Ver
    Excel 2003
    Posts
    24

    the formatnumber() function does not display decimal numbers that have more than 3 decimal

    i have next code

    Please Login or Register  to view this content.
    when I apply my macro each number for example 34563,9843 is displayed in the format 34,563.98 when I enter the number of decimal places 3 or 4 or 5. when I select the number of decimal places 1 the display in excel is 34,563.90. the display after the separator and decimals is fine with the menu, but why doesn't it display decimal places larger than 2.
    I have the same problem with the percentage format.
    I noticed when I entered the number of decimal places. This number actually rounds to that number of decimal places, and a always shows 2 decimal places

  2. #2
    Forum Expert
    Join Date
    02-14-2009
    Location
    .
    MS-Off Ver
    ................
    Posts
    2,840

    Re: the formatnumber() function does not display decimal numbers that have more than 3 dec

    Maybe something to do with setting the NumberFormat of the selection to "###,###,###,###0.00" ...?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 4
    Last Post: 12-17-2015, 12:33 AM
  2. Replies: 3
    Last Post: 08-28-2013, 08:45 AM
  3. [SOLVED] Display data in whole numbers instead of decimal values
    By rachnacare in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-26-2013, 11:18 AM
  4. Replies: 4
    Last Post: 12-26-2012, 05:37 AM
  5. Replies: 2
    Last Post: 01-18-2012, 03:54 PM
  6. Format display decimal values but no decimal point
    By BecParko in forum Excel General
    Replies: 1
    Last Post: 10-18-2007, 04:42 AM
  7. Replies: 4
    Last Post: 08-15-2006, 09:20 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1