Add static functions to compare int,float and double