datatype-number-parse-debug.js revision 761e9178cfaf5a97357730120fe13b8171aeb2eb
/**
* Parse number submodule.
*
* @module datatype
* @submodule datatype-number-parse
* @for DataType.Number
*/
/**
* Converts data to type Number.
*
* @method parse
* @param data {String | Number | Boolean} Data to convert. The following
* values return as null: null, undefined, NaN, "".
* @return {Number} A number, or null.
*/
return number;
}
else {
return null;
}
}
});
// Add Parsers shortcut