If you disect your concatenation and apply KiX logic to it, you should be enlightened.
Rule #1.
If you start with an integer, KiX converts the rest of the concatenation to integer, so:
0 (integer) + $folsize (converted to integer) + ',' (also now integer) = 0
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.