diff --git a/system/libraries/Validation.php b/system/libraries/Validation.php
index 896cd39..6b6ec0c 100644
--- a/system/libraries/Validation.php
+++ b/system/libraries/Validation.php
@@ -419,7 +419,7 @@
 	 */	

 	function min_length($str, $val)

 	{

-		if ( ! is_numeric($val))

+		if (preg_match("/[^0-9]/", $val))

 		{

 			return FALSE;

 		}

@@ -438,7 +438,7 @@
 	 */	

 	function max_length($str, $val)

 	{

-		if ( ! is_numeric($val))

+		if (preg_match("/[^0-9]/", $val))

 		{

 			return FALSE;

 		}

@@ -457,7 +457,7 @@
 	 */	

 	function exact_length($str, $val)

 	{

-		if ( ! is_numeric($val))

+		if (preg_match("/[^0-9]/", $val))

 		{

 			return FALSE;

 		}