$dimension->ratio()

Returns the ratio

  • return (float)

Example

<?= $page->image()->ratio() ?>