summaryrefslogtreecommitdiff
path: root/node_modules/locutus/php/math/floor.js.map
blob: 495bd290edb2bdd41444552f6a68101293105143 (plain) (blame)
1
{"version":3,"sources":["../../../src/php/math/floor.js"],"names":["module","exports","floor","value","Math"],"mappings":";;AAAAA,OAAOC,OAAP,GAAiB,SAASC,KAAT,CAAgBC,KAAhB,EAAuB;AACtC;AACA;AACA;AACA;;AAEA,SAAOC,KAAKF,KAAL,CAAWC,KAAX,CAAP;AACD,CAPD","file":"floor.js","sourcesContent":["module.exports = function floor (value) {\n  //  discuss at: http://locutus.io/php/floor/\n  // original by: Onno Marsman (https://twitter.com/onnomarsman)\n  //   example 1: floor(8723321.4)\n  //   returns 1: 8723321\n\n  return Math.floor(value)\n}\n"]}