From 2067d1a727e7eb5e5ffb40e967f3d1fc4c8a41b2 Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Thu, 13 Nov 2008 22:59:24 +0000 Subject: Changing EOL style to LF --- user_guide/helpers/number_helper.html | 212 +++++++++++++++++----------------- 1 file changed, 106 insertions(+), 106 deletions(-) (limited to 'user_guide/helpers/number_helper.html') diff --git a/user_guide/helpers/number_helper.html b/user_guide/helpers/number_helper.html index fea4cbf6a..6ce6d76bc 100644 --- a/user_guide/helpers/number_helper.html +++ b/user_guide/helpers/number_helper.html @@ -1,107 +1,107 @@ - - - - - -Number Helper : CodeIgniter User Guide - - - - - - - - - - - - - - - - - - - - - -
- - - - - -

CodeIgniter User Guide Version 1.7

-
- - - - - - - - - -
- - -
- - - -
- - -

Number Helper

- -

The Number Helper file contains functions that help you work with numeric data.

- - -

Loading this Helper

- -

This helper is loaded using the following code:

-$this->load->helper('number'); - -

The following functions are available:

- - -

byte_format()

- -

Formats a numbers as bytes, based on size, and adds the appropriate suffix. Examples:

- - -echo byte_format(456); // Returns 456 Bytes
-echo byte_format(4567); // Returns 4.5 KB
-echo byte_format(45678); // Returns 44.8 KB
-echo byte_format(456789); // Returns 447.8 KB
-echo byte_format(3456789); // Returns 3.3 MB
-echo byte_format(12345678912345); // Returns 1.8 GB
-echo byte_format(123456789123456789); // Returns 11,228.3 TB -
- -

-Note: -The text generated by this function is found in the following language file: language//number_lang.php -

- -
- - - - - - + + + + + +Number Helper : CodeIgniter User Guide + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +

CodeIgniter User Guide Version 1.7

+
+ + + + + + + + + +
+ + +
+ + + +
+ + +

Number Helper

+ +

The Number Helper file contains functions that help you work with numeric data.

+ + +

Loading this Helper

+ +

This helper is loaded using the following code:

+$this->load->helper('number'); + +

The following functions are available:

+ + +

byte_format()

+ +

Formats a numbers as bytes, based on size, and adds the appropriate suffix. Examples:

+ + +echo byte_format(456); // Returns 456 Bytes
+echo byte_format(4567); // Returns 4.5 KB
+echo byte_format(45678); // Returns 44.8 KB
+echo byte_format(456789); // Returns 447.8 KB
+echo byte_format(3456789); // Returns 3.3 MB
+echo byte_format(12345678912345); // Returns 1.8 GB
+echo byte_format(123456789123456789); // Returns 11,228.3 TB +
+ +

+Note: +The text generated by this function is found in the following language file: language//number_lang.php +

+ +
+ + + + + + \ No newline at end of file -- cgit v1.2.3-24-g4f1b