in reply to Five digit number display separately

$_="12345";s/./$&x$+[0].$"/ge;print