correct spelling of één (one)

In Dutch there is a difference between één (pronounced ayn (?), meaning one) and een (pronounced un, meaning a)