$dimension->ratio()

Returns the ratio

  • return (float)

Example

<?php echo $page->image()->ratio() ?>