Aye I'll try it out.
Edit:
It gives me an error at 'is' for
value is "integer"
Edit 2:
Never mind, found a way for it.
By converting the real to integer using the weird bug, for example 15.5 would turn into 15.
Then taking (15.5 - 15) and check if the answer is 0. If it's not 0, it's a real number.
Edit 3:
Oh wait, that's what you did....opps
Couldn't understand it at first because I thought the part where "value -" meant "value :"
Stupid me XD
Edit 4:
Okay how do u rep others?
Edit 5:
Found it!