Implemented default formatting for quantities