Number parsing fixes

Triggered by TrackMate... see https://github.com/fiji/TrackMate/pull/23.