Options->d); if (!is_numeric($value)) throw new \Exception('Invalid number ' . $value); return floatval($value); } }