Changeset 20066


Ignore:
Timestamp:
01/11/13 14:35:08 (7 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.