casts the entry to a number