go integration and wikipedia
This commit is contained in:
parent
47a252e339
commit
ee90335b92
7828 changed files with 1307913 additions and 20807 deletions
11
frontend/node_modules/date-fns/_lib/getRoundingMethod.js
generated
vendored
Normal file
11
frontend/node_modules/date-fns/_lib/getRoundingMethod.js
generated
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
"use strict";
|
||||
exports.getRoundingMethod = getRoundingMethod;
|
||||
|
||||
function getRoundingMethod(method) {
|
||||
return (number) => {
|
||||
const round = method ? Math[method] : Math.trunc;
|
||||
const result = round(number);
|
||||
// Prevent negative zero
|
||||
return result === 0 ? 0 : result;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue