Changeset 20066


Ignore:
Timestamp:
Jan 11, 2013, 2:35:08 PM (11 years ago)
Author:
plg
Message:

round the result of the division for FocalLength

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/exif_view/main.inc.php

    r13192 r20066  
    209209   if (!(strpos($key, 'FocalLength') === FALSE)) {
    210210      $tokens = explode('/', $value);
    211       return ($tokens[0]/$tokens[1]).' mm';
     211      return (round($tokens[0]/$tokens[1])).' mm';
    212212   }
    213213
Note: See TracChangeset for help on using the changeset viewer.