%PDF- %PDF-
Direktori : /home/medipszd/public_html/bower_components/moment/src/lib/utils/ |
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; }