I am trying to have a function return a value that is an integer . To be precise , somewhere in the final stages of my function there is something like :
e=mod(1,j)/d
.
.
.
return e
I need to be sure that e is an integer , and i need the check to be done rather fast . If you know of a way to solve this problem , please let me know.