%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/medipszd/public_html/bower_components/moment/src/lib/utils/
Upload File :
Create Path :
Current File : //home/medipszd/public_html/bower_components/moment/src/lib/utils/to-int.js

import absFloor from './abs-floor';

export default function toInt(argumentForCoercion) {
    var coercedNumber = +argumentForCoercion,
        value = 0;

    if (coercedNumber !== 0 && isFinite(coercedNumber)) {
        value = absFloor(coercedNumber);
    }

    return value;
}

Zerion Mini Shell 1.0