<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tedd707</author_name>
  <author_url>https://blog.hatena.ne.jp/tedd707/</author_url>
  <blog_title>ITエンジニアが仕事に対して思うこと</blog_title>
  <blog_url>https://pythonjp.ikitai.net/</blog_url>
  <categories>
  </categories>
  <description>**** Pythonにおいて、int()、float()、complex()はそれぞれ整数型、浮動小数点型、複素数型に変換するための組み込み関数です。この記事では、これらの関数の基本的な使い方から注意点までをコードを交えて詳しく説明します。 int() 関数 - 整数型への変換 int()関数は、与えられた値を整数型に変換します。基本的な使い方は以下の通りです。 # 文字列を整数に変換 num_str = &quot;123&quot; int_value = int(num_str) print(f&quot;Converted integer: {int_value}&quot;) # 浮動小数点数を整数に変換 float_v…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpythonjp.ikitai.net%2Fentry%2F2024%2F01%2F27%2F135357&quot; title=&quot;Python: int(), float(), complex() - 数値型の変換と生成 - ITエンジニアが仕事に対して思うこと&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>2024-01-27 13:53:57</published>
  <title>Python: int(), float(), complex() - 数値型の変換と生成</title>
  <type>rich</type>
  <url>https://pythonjp.ikitai.net/entry/2024/01/27/135357</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
