<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>absj31</author_name>
  <author_url>https://blog.hatena.ne.jp/absj31/</author_url>
  <blog_title>Diary of absj31</blog_title>
  <blog_url>https://absj31.hatenadiary.com/</blog_url>
  <categories>
    <anon>Javascript</anon>
  </categories>
  <description>仕事で1円単位の金額計算、大小比較をJavascriptで行う必要があったのだが、至極単純な部分で躓いてしまった。（数字で比較してたつもりが文字列で比較してしまっていたという凡ミス…＿|￣|○ 12345 &gt; 1345）となる所を、文字列で比較している為に12345 その場はNumber()関数を適用して事無きを得たが、基本的な部分で分かっていなかった節があり、反省。 とほほのJavascriptリファレンス：数値（Number）関数 とほほのJavaScript入門(ビルトイン関数) 個人プロジェクトのライブラリ(Java, Javascript等)を作るがてら、基礎から勉強しないとだめだな…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fabsj31.hatenadiary.com%2Fentry%2F20070802%2F1186341724&quot; title=&quot;Javascriptでの数字の扱い - Diary of absj31&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-08-02 04:22:04</published>
  <title>Javascriptでの数字の扱い</title>
  <type>rich</type>
  <url>https://absj31.hatenadiary.com/entry/20070802/1186341724</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
