+ Reply to Thread
Results 1 to 5 of 5

round up to one decimal

  1. #1
    Registered User
    Join Date
    02-27-2013
    Location
    Porto
    MS-Off Ver
    Excel 2010
    Posts
    94

    round up to one decimal

    If CheckBox1.Value = True Then
    Label10.Caption = (x * z1) / (y1 * z1)
    End If

    hey guys, I would like Label10.caption would capt only one decimal.

    I've already tried application.roundup etc, but it doesn't work..

    can someone help me?

    thanks a lot

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: round up to one decimal

    Try this...

    Please Login or Register  to view this content.


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    01-28-2013
    Location
    Manchester, England
    MS-Off Ver
    Excel 2003, Excel 2007, Excel 2010
    Posts
    50

    Re: round up to one decimal

    I think this might work for you.
    Please Login or Register  to view this content.

  4. #4
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,834

    Re: round up to one decimal

    Tried like this?
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    02-27-2013
    Location
    Porto
    MS-Off Ver
    Excel 2010
    Posts
    94

    Re: round up to one decimal

    thanks a lot guys. it's working.

    I have another question.

    How can I do it but to round it UP or DOWN ?

    Imagine, 149,5 goes to 150 and 149,4 goes to 149 ?

    Thanks a lot


    EDIT : already done it. Thanks anyway!
    Last edited by rcprito; 04-19-2013 at 07:27 AM.

+ Reply to Thread

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