initial commit
This commit is contained in:
7
public/bower_components/moment/src/lib/utils/abs-round.js
vendored
Normal file
7
public/bower_components/moment/src/lib/utils/abs-round.js
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
export default function absRound (number) {
|
||||
if (number < 0) {
|
||||
return Math.round(-1 * number) * -1;
|
||||
} else {
|
||||
return Math.round(number);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user