<?php intval(mixed $value, int $base = 10): int
<?php $definition .= '$this->faker->' . $faker; $definition .= ',' . PHP_EOL; $precision = min([65, intval($column->attributes()[0] ?? 10)]); $scale = min([30, max([0, intval($column->attributes()[1] ?? 0)])]); $definition = str_replace(
<?php $definition .= ',' . PHP_EOL; $precision = min([65, intval($column->attributes()[0] ?? 10)]); $scale = min([30, max([0, intval($column->attributes()[1] ?? 0)])]); $definition = str_replace( "/** {$column->dataType()}_attributes **/",
<?php $value = substr_replace(str_pad("", $precision, '9'), ".", $precision - $scale, 0); if (intval($scale) === 0) { $value = trim($value, "."); }