Searched refs:targetValue (Results 1 – 5 of 5) sorted by relevance
74 public static function toIntegerOrDefaultIfNull($targetValue, $default): int argument76 if ($targetValue === null) {79 return self::toInteger($targetValue);87 public static function toInteger($targetValue, string $roundDirection = self::FLOOR): int argument91 if (is_int($targetValue)) {92 return $targetValue;94 if (!is_string($targetValue) && !is_float($targetValue)) {95 $varExport = var_export($targetValue, true);101 $float = self::toFloat($targetValue);109 "$targetValue" !== "0"[all …]
126 $targetValue = $this->numerator * $remValue;130 $targetValue = $this->numerator;132 return DataType::toInteger($targetValue);
96 $targetValue = $metadata->getValue();98 $targetValue = null;108 $targetValueShouldBeStore = !in_array($targetValue, [$defaultValue, null], true);110 if ($sourceValue !== $targetValue) {
989 targetValue: unit=='color' ? parseColor(value) : value, property994 (transform.originalValue == transform.targetValue) ||997 (isNaN(transform.originalValue) || isNaN(transform.targetValue))1008 (transform.targetValue[i] - transform.originalValue[i])*position)).toColorPart() }) : 1010 … ((transform.targetValue - transform.originalValue) * position) * 1000)/1000 + transform.unit;