public function setScale($scale) {
        $scale = intval($scale);
        if ($scale <= 0) {
            throw new CINArgumentException('The scale must be larger than 0.', 'scale');
        }

        $this->scale = $scale;
    }