![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have a series of numbers from 1.001 to 1.999. I need to determine which are odd and which are even. I understand the Mod function does this but so far I've not been able to get it to work on the numbers to the right of the decimal point. Is there some other route I need to pursue? TIA Tom Street |
#3
| |||
| |||
|
|
I have a series of numbers from 1.001 to 1.999. I need to determine which are odd and which are even. I understand the Mod function does this but so far I've not been able to get it to work on the numbers to the right of the decimal point. Is there some other route I need to pursue? |
#4
| |||
| |||
|
|
By definition, an odd number is an integer not evenly divisible by 2. |
|
So technically, all of the values are odd. |

#5
| |||
| |||
|
|
Just being pedantic here... In article <kcKdna_oyO6og8DeRVn-pA (AT) comcast (DOT) com>, wjm (AT) wjm (DOT) org says... By definition, an odd number is an integer not evenly divisible by 2. Yes! So technically, all of the values are odd. No! ![]() An odd number is an *integer*; these aren't integers, therefore they can't be odd (or even for that matter). -cheers Dave |
#6
| |||
| |||
|
#7
| |||
| |||
|
|
I've learned something today. My mathematically challenged mind thought that an even number was any number divisible by 2 and not any INTEGER. Your suggestion works fine. Many thanks. Tom Street |
![]() |
| Thread Tools | |
| Display Modes | |
| |