diff options
Diffstat (limited to 'node_modules/locutus/php/math/ceil.js')
-rw-r--r-- | node_modules/locutus/php/math/ceil.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/node_modules/locutus/php/math/ceil.js b/node_modules/locutus/php/math/ceil.js new file mode 100644 index 0000000..20ea371 --- /dev/null +++ b/node_modules/locutus/php/math/ceil.js @@ -0,0 +1,11 @@ +"use strict"; + +module.exports = function ceil(value) { + // discuss at: http://locutus.io/php/ceil/ + // original by: Onno Marsman (https://twitter.com/onnomarsman) + // example 1: ceil(8723321.4) + // returns 1: 8723322 + + return Math.ceil(value); +}; +//# sourceMappingURL=ceil.js.map
\ No newline at end of file |