Tracking de l'application VApp (IHM du jeu)
This commit is contained in:
13
VApp/node_modules/date-fns/esm/_lib/roundingMethods/index.js
generated
vendored
Normal file
13
VApp/node_modules/date-fns/esm/_lib/roundingMethods/index.js
generated
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
var roundingMap = {
|
||||
ceil: Math.ceil,
|
||||
round: Math.round,
|
||||
floor: Math.floor,
|
||||
trunc: function trunc(value) {
|
||||
return value < 0 ? Math.ceil(value) : Math.floor(value);
|
||||
} // Math.trunc is not supported by IE
|
||||
};
|
||||
|
||||
var defaultRoundingMethod = 'trunc';
|
||||
export function getRoundingMethod(method) {
|
||||
return method ? roundingMap[method] : roundingMap[defaultRoundingMethod];
|
||||
}
|
Reference in New Issue
Block a user