Changes between Initial Version and Version 1 of Ticket #19067, comment 12
- Timestamp:
- 10/27/2011 08:10:24 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #19067, comment 12
initial v1 1 There could be a problem, because the output of both functions is different. {{{size_format}}} adds a space between number and unit.1 There could be a problem, because the output of both functions is different. 2 2 3 See also this output:3 {{{size_format}}} adds a space between number and unit and see also this examples: 4 4 5 5 {{{ … … 9 9 var_dump( size_format( 4.23 ) ); // string(4) "4 B " 10 10 var_dump( wp_convert_bytes_to_hr( 4.23 ) ); // string(5) "4.23B" 11 12 var_dump( size_format( 1073741823 ) ); // string(4) "1,024 MB " 13 var_dump( wp_convert_bytes_to_hr( 1073741823 ) ); // string(5) "1023.99999905MB" 11 14 }}}