now differentiates between int and float on display