$field->float()

Converts the field value into a proper float

  • return (float)

Example

<?php echo $page->mynumber()->float() ?>