<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>game-web-design</author_name>
  <author_url>https://blog.hatena.ne.jp/game-web-design/</author_url>
  <blog_title>PCゲーマーのWebデザイン備忘録</blog_title>
  <blog_url>https://game-web-design.hatenadiary.com/</blog_url>
  <categories>
    <anon>JS/jQuery</anon>
  </categories>
  <description>ランダム関数は、予測できない不規則な数値を表示させる関数です。 ランダム関数で乱数を表示する。ランダム関数で乱数を表示します。乱数を表示させるためには「random()」を使います。実行例 var num =Math.random(); document.write(num); 結果結果は0~0.99...の間になります。 乱数を整数にする。乱数で出力される数字は少数になるので、これを「floor()」で小数点を切り捨てます。実行例（ソース） var num =Math.floor(Math.random()*10); document.write(num); 結果結果は0~9になります。 乱…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgame-web-design.hatenadiary.com%2Fentry%2F2014%2F09%2F30%2F114230&quot; title=&quot;【JavaScript】ランダム関数 - PCゲーマーのWebデザイン備忘録&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>http://cdn-ak.f.st-hatena.com/images/fotolife/g/game-web-design/20140930/20140930103915.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-09-30 11:42:30</published>
  <title>【JavaScript】ランダム関数</title>
  <type>rich</type>
  <url>https://game-web-design.hatenadiary.com/entry/2014/09/30/114230</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
