public function setDeterioration_floor($deterioration_floor = null)
{
// validation for constraint: fractionDigits
if (is_float($deterioration_floor) && strlen(substr($deterioration_floor, strpos($deterioration_floor, '.'))) !== 2) {
throw new \InvalidArgumentException(sprintf('Invalid value, the value must at most contain 2 fraction digits, "%d" given', strlen(substr($deterioration_floor, strpos($deterioration_floor, '.')))), __LINE__);
}
// validation for constraint: totalDigits
if (is_float($deterioration_floor) && strlen(str_replace(array(' ', '.', ',', '-', '+'), '', $deterioration_floor)) !== 15) {
throw new \InvalidArgumentException(sprintf('Invalid value, the value must at most contain 15 digits, "%d" given', strlen(substr($deterioration_floor, strpos($deterioration_floor, '.')))), __LINE__);
}
$this->deterioration_floor = $deterioration_floor;
return $this;
}