convert X to 10