enhanced sample to show number conversion