{"json_modified": "2015-04-17T06:55:42.465092", "slug": "Web/JavaScript/Reference/Global_Objects/Math/trunc", "tags": ["Experimental", "Math", "Exp\u00e9rimental", "JavaScript", "ECMAScript6", "Method"], "locale": "zh-CN", "title": "Math.trunc()", "translations": [{"title": "Math.trunc()", "url": "/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/trunc", "tags": ["Reference", "Experimental", "R\u00e9f\u00e9rence", "Math", "Exp\u00e9rimental", "JavaScript", "ECMAScript6", "Method"], "summary": "The Math.trunc()
function returns the integral part of a number by removing any fractional digits.", "localization_tags": [], "locale": "en-US", "last_edit": "2015-02-06T04:08:05", "review_tags": []}, {"title": "Math.trunc()", "url": "/fr/docs/Web/JavaScript/Reference/Objets_globaux/Math/trunc", "tags": ["polyfill", "Reference", "Experimental", "R\u00e9f\u00e9rence", "Math", "Exp\u00e9rimental", "JavaScript", "ECMAScript6", "Method"], "summary": "La fonction Math.trunc()
retourne la partie enti\u00e8re d'un nombre en retirant la partie d\u00e9cimale.", "localization_tags": [], "locale": "fr", "last_edit": "2015-02-07T07:27:20", "review_tags": []}, {"title": "Math.trunc()", "url": "/ru/docs/Web/JavaScript/Reference/Global_Objects/Math/trunc", "tags": ["Reference", "Experimental", "R\u00e9f\u00e9rence", "Math", "Exp\u00e9rimental", "JavaScript", "ECMAScript6", "Method"], "summary": "\u041c\u0435\u0442\u043e\u0434 Math.trunc()
\u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0446\u0435\u043b\u0443\u044e \u0447\u0430\u0441\u0442\u044c \u0447\u0438\u0441\u043b\u0430 \u043f\u0443\u0442\u0451\u043c \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u044f \u0432\u0441\u0435\u0445 \u0434\u0440\u043e\u0431\u043d\u044b\u0445 \u0437\u043d\u0430\u043a\u043e\u0432.", "localization_tags": [], "locale": "ru", "last_edit": "2015-02-06T04:16:18", "review_tags": []}], "modified": "2015-04-17T06:55:40", "label": "Math.trunc()", "localization_tags": [], "url": "/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Math/trunc", "last_edit": "2015-01-28T04:17:10", "summary": "Math.trunc()
\u65b9\u6cd5\u4f1a\u5c06\u6570\u5b57\u7684\u5c0f\u6570\u90e8\u5206\u53bb\u6389\uff0c\u53ea\u7559\u6574\u6570\u90e8\u5206\u3002", "sections": [{"id": "Quick_Links", "title": "JavaScript \u6807\u51c6\u5e93 Math \u5c5e\u6027 Math.E Math.LN10 Math.LN2 Math.LOG10E Math.LOG2E Math.PI Math.SQRT1_2 Math.SQRT2 \u65b9\u6cd5 Math.abs() Math.acos() Math.acosh() [Translate] Math.asin() Math.asinh() [Translate] Math.atan() Math.atan2() Math.atanh() [Translate] Math.cbrt() Math.ceil() Math.clz32() Math.cos() Math.cosh() [Translate] Math.exp() Math.expm1() Math.floor() Math.fround() Math.hypot() Math.imul() Math.log() Math.log10() Math.log1p() Math.log2() Math.max() Math.min() Math.pow() Math.random() Math.round() Math.sign() Math.sin() Math.sinh() Math.sqrt() Math.tan() Math.tanh() [Translate] Math.trunc() \u7ee7\u627f Object \u5c5e\u6027 Object.prototype.__count__ [Translate] Object.prototype.__noSuchMethod__ [Translate] __parent__ __proto__ constructor \u65b9\u6cd5 Object.prototype.__defineGetter__() Object.prototype.__defineSetter__() Object.prototype.__lookupGetter__() Object.prototype.__lookupSetter__() [Translate] Object.prototype.hasOwnProperty() isPrototypeOf propertyIsEnumerable Object.prototype.toLocaleString() Object.toSource Object.prototype.toString() Object.prototype.unwatch() [Translate] Object.prototype.valueOf() watch"}, {"id": "Summary", "title": "\u6982\u8ff0"}, {"id": "Syntax", "title": "\u8bed\u6cd5"}, {"id": "Parameters", "title": "\u53c2\u6570"}, {"id": "Description", "title": "\u63cf\u8ff0"}, {"id": "Examples", "title": "\u793a\u4f8b"}, {"id": "Polyfill", "title": "Polyfill"}, {"id": ".E8.A7.84.E8.8C.83", "title": "\u89c4\u8303"}, {"id": ".E6.B5.8F.E8.A7.88.E5.99.A8.E5.85.BC.E5.AE.B9.E6.80.A7", "title": "\u6d4f\u89c8\u5668\u517c\u5bb9\u6027"}, {"id": ".E7.9B.B8.E5.85.B3.E9.93.BE.E6.8E.A5", "title": "\u76f8\u5173\u94fe\u63a5"}], "id": 83933, "review_tags": []}