Changeset 13155
- Timestamp:
- 01/29/2024 10:06:45 PM (8 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/photo-directory/inc/photo.php
r12787 r13155 942 942 case 'focal_length': 943 943 $label = 'Focal Length'; 944 $value .= 'mm'; 944 $value = number_format( (float) $value, 2 ); 945 if ( 0 >= $value ) { 946 continue; 947 } 948 // Trim trailing zeroes after the decimal place, and potentially the decimal itself, then append 'mm'. 949 $value = rtrim( rtrim( $value, '0' ), '.' ) . 'mm'; 945 950 break; 946 951 case 'iso':
Note: See TracChangeset
for help on using the changeset viewer.