<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>no14141</author_name>
  <author_url>https://blog.hatena.ne.jp/no14141/</author_url>
  <blog_title>タイガー！タイガー！じれったいぞー！（SE編）</blog_title>
  <blog_url>https://tigertaizo.hatenablog.com/</blog_url>
  <categories>
    <anon>AS400</anon>
    <anon>RPGLE</anon>
  </categories>
  <description>計算時の端数処理（四捨五入、切捨て、切り上げ）は、業務系ではかかせない処理かと思います。 しかしながら、RPGでは、この基本処理を簡単に記述できない苦悩があります。 いつものように、単に私が知らないだけなのかもしれませんが・・・。 税込み金額の計算を例にサンプルを作ってみました。 サンプル D MAIN PR EXTPGM('SAMPLE31') D 7P 0 D 3P 2 D MAIN PI D P@AMT1 7P 0 D P@RATE 3P 2 D* D W@TEMP S 7P 2 D W@AMT2 S 7P 0 D* /FREE W@AMT2 = P@AMT1 * P@RATE; // …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftigertaizo.hatenablog.com%2Fentry%2F2015%2F02%2F03%2F125853&quot; title=&quot;【AS400】RPGLE-金額計算時の端数処理 - タイガー！タイガー！じれったいぞー！（SE編）&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>2015-02-03 12:58:53</published>
  <title>【AS400】RPGLE-金額計算時の端数処理</title>
  <type>rich</type>
  <url>https://tigertaizo.hatenablog.com/entry/2015/02/03/125853</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
