public/javascripts/yui/datatable/datatable-debug.js
function(oData) {
        //Convert to number
        var number = oData * 1;

        // Validate
        if(lang.isNumber(number)) {
            return number;
        }
        else {
            YAHOO.log("Could not validate data " + lang.dump(oData) + " to type Number", "warn", this.toString());
            return undefined;
        }
    }
function(oData) {
        //Convert to number
        var number = oData * 1;

        // Validate
        if(lang.isNumber(number)) {
            return number;
        }
        else {
            YAHOO.log("Could not validate data " + lang.dump(oData) + " to type Number", "warn", this.toString());
            return undefined;
        }
    }
function ( oData ) { //Convert to number var number = oData * 1 ; // Validate if ( lang . isNumber ( number ) ) { return number ; } else { YAHOO . log ( "Could not validate data " + lang . dump ( oData ) + " to type Number" , "warn" , this . toString ( ) ) ; return undefined ; } }
Validates data value to type Number, doing type conversion as
necessary. A valid Number value is return, else null is returned
if input value does not validate.


@method DataTable.validateNumber
@param oData {Object} Data to validate.
@static
Validates data value to type Number doing type conversion as necessary . A valid Number value is return else null is returned if input value does not validate .