I need to check if a given number is an int or a double. I don't want to round doubles to ints, I just want to know if the number is an int or a double. Is there any way to do this?
For the record, I start with an 2 ints, one is the width of an image and the other a number I'll be dividing the width by. I need to be able to find out if the width is divisible by the number I'm dividing it by evenly, otherwise I need to alert the client.
Someone please help me.
For the record, I start with an 2 ints, one is the width of an image and the other a number I'll be dividing the width by. I need to be able to find out if the width is divisible by the number I'm dividing it by evenly, otherwise I need to alert the client.
Someone please help me.
Comment