convert from numbers to dots