I want to perform a different action based on wether or not the output value of a number is whole or contains a decimal.
I am hoping to perform one action based on an odd digit and another if even. I was thinking that if I could divide the number by 2 and detect the out come as integer or float, then this would work.
My ultimate goal is to create a table with cells containing array output elelments, and every other < TR > have a different bgcolor. So, if the final value == float then bgcolor = red, ect. Any suggestions? Thank you.