$field->float()

Converts the field value into a proper float

  • return (float)

Example

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

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