Changeset 5308 for trunk/wp-includes/functions.php
- Timestamp:
- 04/25/2007 12:49:57 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r5304 r5308 82 82 $j = @date($dateformatstring, $i); 83 83 return $j; 84 } 85 86 function number_format_i18n($number, $decimals = null) { 87 global $wp_locale; 88 // let the user override the precision only 89 $decimals = is_null($decimals)? $wp_locale->number_format['decimals'] : intval($decimals); 90 91 return number_format($number, $decimals, $wp_locale->number_format['decimal_point'], $wp_locale->number_format['thousands_sep']); 84 92 } 85 93
Note: See TracChangeset
for help on using the changeset viewer.