|My dear friend Faruk,|
Could you please give more information about that problem that you have when you submit to this forum, because frankly it is look like a puzzle :o)
But let me guess … himmm … you may have to strip white spaces or other character like end of line or tab. You have to use trim() function on your variable before send it to this class, it should be only integer nothing else.
Any way, thanks for your entry, I will add this function also into my class to avoid similar cases.