❌ Kirby 2 no longer actively supported. Migrate to a current version and
upgrade your v2 license now
.
$field->int()
Converts the field value into a proper integer
return
(integer)
Example
<?= $page->mynumber()->int() ?>
↑
Cheat Sheet overview
←
$field->html()
→
$field->isEmpty()
↓
Back to Cheat Sheet section
Top