format_dcml function

Format decimal notation