Hi :) There are other options such as Roundup. If you want to get the nearest whole number so that .5 or over gets rounded up and less than .5 gets rounded down then one way might be something like
E1: =INT(A1+0.5) → 1 Hmm, there has got to be a specific function that does rounding correctly. Regards from Tom :) --- On Sun, 14/10/12, Rolf Lochbühler <[email protected]> wrote: From: Rolf Lochbühler <[email protected]> Subject: Re: [libreoffice-users] Integer part of a number To: [email protected] Date: Sunday, 14 October, 2012, 11:48 > could anyone tell me which formula I should use for the integer part of a > cell to be shown in another cell, The function you're probably looking for is INT(). Example: A1: 0.77 B1: =INT(A1) → 0 C1: =A1*2 → 1.54 D1: =B1*2 → 0 > and for the value of this cell to be > changed, since, for example, 5,77 would become equal to 5? I guess I don't understand the restrictions in your spreadsheet. Without knowing any further details of your application, I'd say, why not use the value calculated by INT() instead of the original value in any subsequent operations? -rl -- For unsubscribe instructions e-mail to: [email protected] Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted -- For unsubscribe instructions e-mail to: [email protected] Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted
