 
                 // There may not be any non-zero digits after the decimal
 				// if domain is int.
-                if (domain == "int" && input.charAt(i) != "0")
+                if (domain == NumberValidatorDomainType.INT && input.charAt(i) != "0")
                 {
                     results.push(new ValidationResult(
 						true, baseField,"integer",

                }
            }

            // Check bounds

            var x:Number = Number(input);

     *  Type of number to be validated.
	 *  Permitted values are <code>"real"</code> and <code>"int"</code>.
	 *
	 *  <p>In ActionScript, you can use the following constants to set this property: 
     *  <code>NumberValidatorDomainType.REAL</code> or
     *  <code>NumberValidatorDomainType.INT</code>.</p>
     * 
	 *  @default "real"
     *  
     *  @langversion 3.0
