Re: How do you compare negative numbers with positive numbers?

2010-12-13 Thread Bob Sneidar
I had, after 25 minutes of heavy thought, worked out that it actually was relevant! That's scary! Bob On Dec 12, 2010, at 5:03 PM, Colin Holgate wrote: > > > For anyone slightly confused by that, I was telling a colleague about changes > in Google Docs for iPad, and pasted the reply into t

Re: How do you compare negative numbers with positive numbers?

2010-12-12 Thread Colin Holgate
For anyone slightly confused by that, I was telling a colleague about changes in Google Docs for iPad, and pasted the reply into th ewrong window! Hope some of you were intrigued anyway. ___ use-livecode mailing list use-livecode@lists.runrev.com P

Re: How do you compare negative numbers with positive numbers?

2010-12-12 Thread Colin Holgate
On Dec 12, 2010, at 3:20 PM, Charles Szasz wrote: > For example, comparing -3.5 with 2.23. How do you do this? This may sum it up: While Google recently updated its mobile version of Google Docs to support editing on smartphones, it acknowledged the feature was somewhat limited. The new vers

Re: How do you compare negative numbers with positive numbers?

2010-12-12 Thread Charles Szasz
Colin, Thanks a lot! I had forgotten about the absolute function. I now have to figure out how to do comparisons of this sort so that if a negative number is bigger than a positive value that it is reported as a weakness (such as -3.5 compared with a value of 2.23). And if a positive number is

Re: How do you compare negative numbers with positive numbers?

2010-12-12 Thread Mark Schonewille
Hi Charles, It's been a long time for me, but if I remember well you want either the first differences or the standard deviation. function mean theNumbers return sum(theNumbers)/number of items of theNumbers end mean function firstDifferences theNumbers put mean(theNumbers) into myMean re

Re: How do you compare negative numbers with positive numbers?

2010-12-12 Thread Colin Holgate
On Dec 12, 2010, at 3:20 PM, Charles Szasz wrote: > For example, comparing -3.5 with 2.23. How do you do this? You can use abs to get the positive absolute value, and compare those: put abs(-3.5)>abs(2.23) ___ use-livecode mailing list use-livecode@

How do you compare negative numbers with positive numbers?

2010-12-12 Thread Charles Szasz
I am computing an average of a series of numbers and then comparing each number with the average, which yields a deviation. Of course, there are instances where a negative deviation will occur when it is below the average. Here is my problem. I need to be able to compare a negative number with