$field->float()

Converts the field value into a proper float

  • return (float)

Example

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