$field->int()

Converts the field value into a proper integer

  • return (integer)

Example

<?= $page->mynumber()->int() ?>

Is something missing or incorrect? Edit this page on Github…