Use 'String.format' to convert base of 'location'