{"json_modified": "2016-09-15T04:48:48.853054", "uuid": "ebf5a8a2-c8cb-4771-a5b9-fd0edfa265df", "title": "Math.random()", "url": "/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/random", "tags": ["Reference", "Method", "Math", "JavaScript"], "translations": [{"uuid": "54db5386-3e4d-48f8-95f5-08b56cd9224e", "title": "Math.random()", "url": "/ca/docs/Web/JavaScript/Referencia/Objectes_globals/Math/random", "tags": [], "summary": "La funci\u00f3 Math.random() retorna un nombre decimal de punt flotant pseudo-aleatori que roman dins el rang [0,\u00a01), \u00e9s a dir, des de 0 (incl\u00f2s) fins a 1 (excl\u00f2s), que despr\u00e9s pot ser escalat al rang dessitjat. La implementaci\u00f3 selecciona la llavor inicial per a l'algoritme generador de nombres aleatoris; aquesta llavor no pot ser resetejada o escollida per l'usuari.", "localization_tags": [], "locale": "ca", "last_edit": "2015-08-01T15:31:21", "review_tags": []}, {"uuid": "340ba867-0c7a-477a-b5da-44fd6ed97b17", "title": "Math.random()", "url": "/de/docs/Web/JavaScript/Reference/Global_Objects/Math/math.random", "tags": ["Reference", "Method", "Math", "JavaScript"], "summary": "Die Math.random() Funktion gibt eine Pseudozufallszahl in Form einer Gleitkommazahl im Bereich von 0 (inklusive) bis 1 (exklusive) zur\u00fcck, die dann zur gew\u00fcnschten Gr\u00f6\u00dfe skaliert werden kann. Die Zufallszahl wird von der Implementierung bestimmt; sie kann nicht vom Benutzer ausgew\u00e4hlt oder zur\u00fcckgesetzt werden.", "localization_tags": [], "locale": "de", "last_edit": "2016-09-15T04:48:40", "review_tags": []}, {"uuid": "06d3a3c7-1660-4022-97ed-71a85cb2535e", "title": "Math.random()", "url": "/es/docs/Web/JavaScript/Referencia/Objetos_globales/Math/random", "tags": ["N\u00fameros Aleatorios", "Math", "Referencias", "Random", "JavaScript"], "summary": "La funci\u00f3n\u00a0Math.random()\u00a0retorna\u00a0un\u00a0punto flotante,\u00a0un n\u00famero\u00a0pseudo-aleatorio\u00a0dentro del rango\u00a0[0,\u00a01).\u00a0Esto es, desde el\u00a00 (Incluido) hasta el 1 pero sin incluirlo\u00a0(excluido), el cual se puede escalar hasta el rango deseado. La implementaci\u00f3n selecciona la semilla inicial hasta el algoritmo que genera el n\u00famero aleatorio; este no puede ser elegido\u00a0o cambiado por el usuario.", "localization_tags": [], "locale": "es", "last_edit": "2015-07-09T02:49:39", "review_tags": ["technical"]}, {"uuid": "46327c93-3702-41aa-8875-abf2582fd280", "title": "Math.random()", "url": "/fr/docs/Web/JavaScript/Reference/Objets_globaux/Math/random", "tags": ["R\u00e9f\u00e9rence", "Math", "M\u00e9thode", "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": "2016-09-12T03:33:02", "review_tags": []}, {"uuid": "60bfd6ca-a77b-40dc-85a6-13fb2859942e", "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": []}, {"uuid": "91771b01-14d4-4e3e-972b-7c70cd160eeb", "title": "Math.random()", "url": "/ko/docs/Web/JavaScript/Reference/Global_Objects/Math/random", "tags": [], "summary": "Math.random()\u00a0\ud568\uc218\ub294 [0, 1) \ubc94\uc704(0\uc744 \ud3ec\ud568\ud558\uba74\uc11c 1 \ubcf4\ub2e4\ub294 \uc791\uc740)\uc758 \uc758\uc0ac\ub79c\ub364(pseudo-random)\u00a0\uc218\ub97c\u00a0\ubd80\ub3d9\uc18c\uc218\uc810(floating-point)\uc73c\ub85c \ubc18\ud658\ud558\uace0, \uc774\ub97c \uc6d0\ud558\ub294 \ubc94\uc704\ub85c\u00a0\uc2a4\ucf00\uc77c(scale)\ud560 \uc218 \uc788\ub2e4. \ub09c\uc218(random number)\u00a0\uc0dd\uc131\u00a0\uc54c\uace0\ub9ac\uc998\uc758\u00a0\ucd08\uae30 \uc2dc\ub4dc(seed)\ub294 \uad6c\ud604(implementation)\uc5d0\uc11c \uc120\ud0dd\ud55c\ub2e4; \uc774\ub294 \uc0ac\uc6a9\uc790\uc5d0 \uc758\ud574 \uc120\ud0dd\ub418\uac70\ub098 \ucd08\uae30\ud654\ub420 \uc218 \uc5c6\ub2e4.", "localization_tags": ["inprogress"], "locale": "ko", "last_edit": "2016-03-10T18:33:52", "review_tags": []}, {"uuid": "da86dbe3-7d33-484e-8376-58e799599785", "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": []}, {"uuid": "8658cef6-32f6-44eb-9cfd-51e9f74b35a7", "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": "2015-09-15T19:07:06", "review_tags": []}, {"uuid": "80f82230-313f-4ca2-bb78-e3e857d81065", "title": "Math.random()", "url": "/ru/docs/Web/JavaScript/Reference/Global_Objects/Math/random", "tags": ["Reference", "JavaScript", "R\u00e9f\u00e9rence", "Math", "Method"], "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.", "localization_tags": [], "locale": "ru", "last_edit": "2015-05-06T04:00:49", "review_tags": []}, {"uuid": "b121064f-fa1b-4c72-8e7f-4eae28e64d08", "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": []}], "modified": "2016-09-10T17:16:17", "label": "Math.random()", "localization_tags": [], "locale": "en-US", "id": 2969, "last_edit": "2016-09-10T17:16:12", "summary": "The Math.random() function returns a floating-point, pseudo-random number in the range [0,\u00a01)\u00a0that 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.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Return_value", "title": "Return value"}, {"id": "Examples", "title": "Examples"}, {"id": "Using_Math.random()", "title": "Using "}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}], "slug": "Web/JavaScript/Reference/Global_Objects/Math/random", "review_tags": []}