+ Reply to Thread
Results 1 to 3 of 3

How do I round last number without a decimal point

  1. #1
    JE McGimpsey
    Guest

    Re: How do I round last number without a decimal point

    use a negative argument for decimal places (from Help: "If num_digits is
    less than 0, then number is rounded to the left of the decimal point."):

    =ROUND(A1,-1)

    In article <[email protected]>,
    "rollover22" <[email protected]> wrote:

    > I want to round a number, either up or down depending on the last digit. I
    > tried to use "roundup" and "Rounddown" but those are for numbers with a
    > decimal place, my database does not have decimals. I want to change numbers
    > like; 4507, and 4503, to 4510 and 4500 (respectively) . I also tried
    > "=($D4(last_digit>5,"rounddown",roundup) but there is no "last_digit"
    > command, so obviosly is cant work!!
    >
    > Any suggestions?
    >
    > Thank you in advance


  2. #2
    rollover22
    Guest

    How do I round last number without a decimal point

    I want to round a number, either up or down depending on the last digit. I
    tried to use "roundup" and "Rounddown" but those are for numbers with a
    decimal place, my database does not have decimals. I want to change numbers
    like; 4507, and 4503, to 4510 and 4500 (respectively) . I also tried
    "=($D4(last_digit>5,"rounddown",roundup) but there is no "last_digit"
    command, so obviosly is cant work!!

    Any suggestions?

    Thank you in advance

  3. #3
    JE McGimpsey
    Guest

    Re: How do I round last number without a decimal point

    use a negative argument for decimal places (from Help: "If num_digits is
    less than 0, then number is rounded to the left of the decimal point."):

    =ROUND(A1,-1)

    In article <[email protected]>,
    "rollover22" <[email protected]> wrote:

    > I want to round a number, either up or down depending on the last digit. I
    > tried to use "roundup" and "Rounddown" but those are for numbers with a
    > decimal place, my database does not have decimals. I want to change numbers
    > like; 4507, and 4503, to 4510 and 4500 (respectively) . I also tried
    > "=($D4(last_digit>5,"rounddown",roundup) but there is no "last_digit"
    > command, so obviosly is cant work!!
    >
    > Any suggestions?
    >
    > Thank you in advance


+ 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