Index: modules/number/number.module
===================================================================
--- modules/number/number.module	(revision 66)
+++ modules/number/number.module	(working copy)
@@ -238,8 +238,8 @@
               // We cannot use array_key_exists() because allowed values are
               // stored as strings, and we need to compare numeric equality.
               $valid = FALSE;
-              foreach ($allowed_values as $kay => $value) {
-                if ((float) $item['value'] == (float) $value) {
+              foreach ($allowed_values as $key => $value) {
+                if ((float) $item['value'] == (float) $key) {
                   $valid = TRUE;
                   break;
                 }
