added memberfuncs for number types