PHP Classes

File: vendors/moment/src/lib/utils/to-int.js

Recommend this page to a friend!
  Classes of Jorge Castro   Gentelella BladeOne   vendors/moment/src/lib/utils/to-int.js   Download  
File: vendors/moment/src/lib/utils/to-int.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Gentelella BladeOne
Render templates using Bootstrap for presentation
Author: By
Last change:
Date: 3 years ago
Size: 282 bytes
 

Contents

Class file image Download
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; }