{"json_modified": "2015-05-06T04:00:54.712694", "slug": "Web/JavaScript/Reference/Global_Objects/Math/random", "tags": ["Reference", "JavaScript", "R\u00e9f\u00e9rence", "Math", "R\u00e9ference", "Method"], "locale": "ru", "title": "Math.random()", "translations": [{"title": "Math.random()", "url": "/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/random", "tags": ["Reference", "JavaScript", "R\u00e9f\u00e9rence", "Math", "R\u00e9ference", "Method"], "summary": "The Math.random() function returns a floating-point, pseudo-random number in the range [0,\u00a01) that is, from 0 (inclusive) up to but not including 1 (exclusive), which you can then scale to your desired range. The implementation selects the initial seed to the random number generation algorithm; it cannot be chosen or reset by the user.", "localization_tags": [], "locale": "en-US", "last_edit": "2015-05-05T16:01:20", "review_tags": []}, {"title": "Math.random()", "url": "/pl/docs/Web/JavaScript/Referencje/Obiekty/Math/random", "tags": ["Math", "Method", "JavaScript"], "summary": "Zwraca liczb\u0119 pseudolosow\u0105 z przedzia\u0142u [0, 1). Podstaw\u0105 generatora liczb losowych (ang.\n\n seed\n ) jest aktualny czas, tak samo jak w j\u0119zyku Java. Poniewa\u017c random jest statyczn\u0105 metod\u0105 obiektu Math, zawsze odwo\u0142ujemy si\u0119 do niej poprzez Math.random(), a nie jak do metody instancji obiektu Math utworzonej przez u\u017cytkownika.", "localization_tags": ["inprogress"], "locale": "pl", "last_edit": "2015-04-20T07:34:33", "review_tags": []}, {"title": "Math.random()", "url": "/fr/docs/Web/JavaScript/Reference/Objets_globaux/Math/random", "tags": ["R\u00e9f\u00e9rence", "Reference", "Method", "Math", "JavaScript"], "summary": "La fonction Math.random() renvoie un nombre flottant pseudo-al\u00e9atoire compris dans l'intervalle [0, 1) (ce qui signifie que 0 est compris dans l'intervalle mais que 1 en est exclu). Ce nombre peut ensuite \u00eatre multipli\u00e9 afin de couvrir un autre intervalle. La graine (seed) du g\u00e9n\u00e9rateur est choisie par l'algorithme et ne peut pas \u00eatre choisie ou r\u00e9initialis\u00e9e par l'utilisateur.", "localization_tags": [], "locale": "fr", "last_edit": "2015-02-07T06:09:15", "review_tags": []}, {"title": "Math.random()", "url": "/ja/docs/Web/JavaScript/Reference/Global_Objects/Math/random", "tags": ["Math", "Math Methods", "JavaScript"], "summary": "[0,1) \u3001\u2026\u2026\u3064\u307e\u308a\u30010 \u4ee5\u4e0a 1 \u672a\u6e80\u306e\u7bc4\u56f2\u3067\u7591\u4f3c\u4e71\u6570\u3092\u8fd4\u3057\u307e\u3059\u3002Java \u3068\u540c\u69d8\u306b\u3001\u73fe\u5728\u6642\u523b\u3092\u30b7\u30fc\u30c9\u3068\u3057\u3066\u4e71\u6570\u3092\u751f\u6210\u3057\u307e\u3059\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2015-04-13T00:55:55", "review_tags": []}, {"title": "Math.random()", "url": "/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Math/random", "tags": [], "summary": "Math.random()\u00a0\u51fd\u6570\u8fd4\u56de [0-1) \u7684\u6d6e\u70b9\u503c\u4f2a\u968f\u673a\u6570\uff08\u5927\u4e8e\u7b49\u4e8e0\uff0c\u5c0f\u4e8e1\uff09\u3002", "localization_tags": [], "locale": "zh-CN", "last_edit": "2014-07-25T07:15:42", "review_tags": []}, {"title": "Math.random()", "url": "/pt-BR/docs/Web/JavaScript/Reference/Global_Objects/Math/random", "tags": ["Math", "Method", "JavaScript"], "summary": "A fun\u00e7\u00e3o \u00a0Math.random()\u00a0retorna um ponto de flutua\u00e7\u00e3o (floating-point), n\u00fameros pseudo-aleat\u00f3rios em uma varia\u00e7\u00e3o [0, 1)\u00a0ou seja, de 0 (inclusivo) at\u00e9, mas n\u00e3o incluindo, 1 (exclusivo), que depois voc\u00ea pode dimensionar para a sua varia\u00e7\u00e3o desejada.", "localization_tags": ["inprogress"], "locale": "pt-BR", "last_edit": "2014-12-13T01:14:54", "review_tags": []}, {"title": "Math.random()", "url": "/es/docs/Web/JavaScript/Referencia/Objetos_globales/Math/random", "tags": [], "summary": "La funci\u00f3n\u00a0Math.random()\u00a0retorna\u00a0un\u00a0punto flotante,\u00a0un pseudo-aleatorio\u00a0n\u00famero\u00a0dentro del rango\u00a0[0,\u00a01).\u00a0Esto es, desde el\u00a00 (inclusive) hasta el uno pero sin incluirlo\u00a0(exclusive), which you can then scale to your desired range. The implementation selects the initial seed to the random number generation algorithm; it cannot be chosen or reset by the user.", "localization_tags": ["inprogress"], "locale": "es", "last_edit": "2015-03-03T09:11:57", "review_tags": []}], "modified": "2015-05-06T04:00:52", "label": "Math.random()", "localization_tags": [], "url": "/ru/docs/Web/JavaScript/Reference/Global_Objects/Math/random", "last_edit": "2015-05-06T04:00:49", "summary": "\u041c\u0435\u0442\u043e\u0434 Math.random() \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u043f\u0441\u0435\u0432\u0434\u043e\u0441\u043b\u0443\u0447\u0430\u0439\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e \u0441 \u043f\u043b\u0430\u0432\u0430\u044e\u0449\u0435\u0439 \u0437\u0430\u043f\u044f\u0442\u043e\u0439 \u0438\u0437 \u0434\u0438\u0430\u043f\u0430\u0437\u043e\u043d\u0430 [0,\u00a01), \u0442\u043e \u0435\u0441\u0442\u044c, \u043e\u0442 0 (\u0432\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e) \u0434\u043e 1 (\u043d\u043e \u043d\u0435 \u0432\u043a\u043b\u044e\u0447\u0430\u044f 1), \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0437\u0430\u0442\u0435\u043c \u043c\u043e\u0436\u043d\u043e \u043e\u0442\u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0434\u043e \u043d\u0443\u0436\u043d\u043e\u0433\u043e \u0434\u0438\u0430\u043f\u0430\u0437\u043e\u043d\u0430. \u0420\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0441\u0430\u043c\u0430 \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u0442 \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e\u0435 \u0437\u0435\u0440\u043d\u043e \u0434\u043b\u044f \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0430 \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438 \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b; \u043e\u043d\u043e \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0432\u044b\u0431\u0440\u0430\u043d\u043e \u0438\u043b\u0438 \u0441\u0431\u0440\u043e\u0448\u0435\u043d\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u043c.", "sections": [{"id": "Quick_Links", "title": "\u0421\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0435 \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0435 \u043e\u0431\u044a\u0435\u043a\u0442\u044b Math \u0421\u0432\u043e\u0439\u0441\u0442\u0432\u0430 Math.E Math.LN10 Math.LN2 Math.LOG10E Math.LOG2E Math.PI Math.SQRT1_2 Math.SQRT2 \u041c\u0435\u0442\u043e\u0434\u044b Math.abs() Math.acos() Math.acosh() Math.asin() Math.asinh() Math.atan() Math.atan2() Math.atanh() Math.cbrt() Math.ceil() Math.clz32() Math.cos() Math.cosh() 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() Math.trunc() \u0423\u043d\u0430\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u043d\u044b\u0435 Object \u0421\u0432\u043e\u0439\u0441\u0442\u0432\u0430 Object.prototype.__count__ Object.prototype.__noSuchMethod__ Object.prototype.__parent__ Object.prototype.__proto__ Object.prototype.constructor \u041c\u0435\u0442\u043e\u0434\u044b Object.prototype.__defineGetter__() Object.prototype.__defineSetter__() Object.prototype.__lookupGetter__() Object.prototype.__lookupSetter__() Object.prototype.hasOwnProperty() Object.prototype.isPrototypeOf() Object.prototype.propertyIsEnumerable() Object.prototype.toLocaleString() Object.prototype.toSource() Object.prototype.toString() Object.prototype.unwatch() Object.prototype.valueOf() Object.prototype.watch()"}, {"id": "Summary", "title": "\u0421\u0432\u043e\u0434\u043a\u0430"}, {"id": "Syntax", "title": "\u0421\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441"}, {"id": "Parameters", "title": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b"}, {"id": "Examples", "title": "\u041f\u0440\u0438\u043c\u0435\u0440\u044b"}, {"id": "Example:_Using_Math.random", "title": "\u041f\u0440\u0438\u043c\u0435\u0440: \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u043c\u0435\u0442\u043e\u0434\u0430 Math.random()"}, {"id": "Specifications", "title": "\u0421\u043f\u0435\u0446\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438"}, {"id": "Browser_compatibility", "title": "\u0421\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u043e\u0441\u0442\u044c \u0441 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430\u043c\u0438"}], "id": 129017, "review_tags": []}