because of dynamic system of sqf it is better to support different types of properties. 
Check for http://community.bistudio.com/wiki/isNumber and http://community.bistudio.com/wiki/isText.

So, if isNumber - return getNumber, if isText - return getText