<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>syun77</author_name>
  <author_url>https://blog.hatena.ne.jp/syun77/</author_url>
  <blog_title>2dgames.jp</blog_title>
  <blog_url>https://2dgames.jp/</blog_url>
  <categories>
    <anon>Godot</anon>
  </categories>
  <description>この記事では、警告「Integer division, decimal part will be discarded. (整数除算、小数部は切り捨てる)」を消す方法について紹介します。 警告「Integer division, decimal part will be discarded」を消す方法 整数除算とは GDScriptでは、整数同士の除算を行うと端数が切り捨てられます。例えば以下のコード (7÷3＝2.333...) を実行すると、 var a = 7 var b = 3 print(a / b) 出力結果は以下の通りとなります。 出力結果 2 整数同士の除算により生じた端数「0.…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2F2dgames.jp%2Fentry%2Fgodot-integer-division-decimal-part-will-be-discarded%2F&quot; title=&quot;【Godot】警告「Integer division, decimal part will be discarded」を消す方法 - 2dgames.jp&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>https://cdn-ak.f.st-hatena.com/images/fotolife/s/syun77/20250901/20250901002420.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-01-04 05:00:00</published>
  <title>【Godot】警告「Integer division, decimal part will be discarded」を消す方法</title>
  <type>rich</type>
  <url>https://2dgames.jp/entry/godot-integer-division-decimal-part-will-be-discarded/</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
