Device format to string instead of integer