<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ayokoyama</author_name>
  <author_url>https://blog.hatena.ne.jp/ayokoyama/</author_url>
  <blog_title>私の二次記憶</blog_title>
  <blog_url>https://ayokoyama.hatenadiary.org/</blog_url>
  <categories>
    <anon>python</anon>
    <anon>javascript</anon>
  </categories>
  <description>備忘録です。最近歳をとったせいか、すぐ忘れちゃうので。Python の場合、int() や float() が使えます。int() では radix （基数）も指定できます。 例 &gt;&gt;&gt; int('123') 123 &gt;&gt;&gt; int('0123') 123 &gt;&gt;&gt; int('0123', 0) 83 &gt;&gt;&gt; int('123',16) 291 &gt;&gt;&gt; int('0x123', 0) 291 &gt;&gt;&gt; float('123.4') 123.40000000000001 ちなみに JavaScript の場合 複数の言語をまとめて覚えようとすると、体系的に違いとか意識できて良いのですが、混乱すること…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fayokoyama.hatenadiary.org%2Fentry%2F20070417%2Fp1&quot; title=&quot; 文字列から数値への変換 - 私の二次記憶&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2007-04-17 00:00:01</published>
  <title> 文字列から数値への変換</title>
  <type>rich</type>
  <url>https://ayokoyama.hatenadiary.org/entry/20070417/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
