Results 1 to 17 of 17

formatting of a cell to 2 decimal places

Threaded View

  1. #1
    Registered User
    Join Date
    02-24-2010
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    10

    formatting of a cell to 2 decimal places

    So here's the problem.
    if I change the formatting of a cell to 2 decimal places, it appears as two decimal places (as it should) for example $88.88888 will show as $88.88

    However, when I use this data in another application that displays this data it will display as 88.88888 still. I need to actually take the value and truncate it to 88.88 eg 8.8888888 will become 8.88

    I have been using trunc by hand and wanted to try and find out if there is a way that I could write some sort of macro to do this for me each time.

    Any help on the subject would be great as VBA is still new to me
    Last edited by JohnD0e; 03-02-2010 at 11:51 PM.

Thread Information

Users Browsing this Thread

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

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