🎉 If you are still on v2, we offer attractive prices for all owners of a Kirby 2 license to upgrade to v3.
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