Date: prev next · Thread: first prev next last
2015 Archives by date, by thread · List index


Subtract the numbers and check the absolute value

On Feb 4, 2015 8:40 AM, gordom <gordom1@wp.pl> wrote:

Hallo everyone. 
I do realize my post title is not very descriptive. Sorry for that. 
I have 2 (or sometimes more) values (numbers) and want to compare them 
and check if they are more-less equal. Let say the condition is 
fulfilled if the numbers are exactly equal or the difference is not 
higher than (+/-) 1. 
Here is the example: 

3,1 3 TRUE 
5,9 6 TRUE 
7 -5 FALSE 
10 9 TRUE 
-6 -6 TRUE 

Any clues how I can do this? 
Regards, 
gordom 

-- 
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org 
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 

-- 
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
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

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.