Better check for decimal point and removes tooltip