Delimiter //
/**
function cash_isInteger
Check if value could be cast to integer
**/
drop function if exists CASH_ISINTEGER//

create function CASH_ISINTEGER(value varchar(255))
	returns int
Begin
	return value regexp '^[0-9]+$';
End //

Delimiter ;
