takes in 32 bits and a type (float/int) and prints out the decimal version of it in specified type