Hey all,
I need to evaluate the decimal point of an interger (bet u wouldn’t of guessed that from the title eh?!)
So, im reading in XML for a thumbnail viewer, the viewer displays 5 thumbs per “page” so, i divide the total number of thumbs by 5.
Then i need to evaluate the number if it dosn’t have a decimal point (ie, the total divides by 5 exactly) then that is the number of pages i need.
Then if the number does have a decimal 12.2, for instance i need to strip the 2. leaving 12, and then add one so the 2 images left go onto a new page.
Hope you can understand my ramblings.
Cheers in advance. Andy.