Number recognition in different formats