$dimension->ratio()

Returns the ratio

  • return (float)

Example

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

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