<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Nearest Rational Number on Sulprobil</title>
    <link>https://www.sulprobil.de/tags/nearest-rational-number/</link>
    <description>Recent content in Nearest Rational Number on Sulprobil</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Wed, 20 May 2026 04:25:00 +0100</lastBuildDate>
    <atom:link href="https://www.sulprobil.de/tags/nearest-rational-number/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>sbNRN (VBA)</title>
      <link>https://www.sulprobil.de/sbnrn_en/</link>
      <pubDate>Wed, 20 May 2026 04:25:00 +0100</pubDate>
      <guid>https://www.sulprobil.de/sbnrn_en/</guid>
      <description>&lt;p&gt;&lt;strong&gt;&amp;ldquo;God made the integers, all the rest is the work of man.&amp;rdquo; [Leopold Kronecker]&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;h2 id=&#34;abstract&#34;&gt;Abstract&lt;/h2&gt;&#xA;&lt;p&gt;Which rational number is a good proxy of π (3.1415926&amp;hellip;)? Enter in cell A1 ‘=pi()&amp;rsquo;,&#xA;in cell B1 your maximal denominator (for example 10), and in cells C1:D1 ‘=sbNRN(A1,B1)&#39;&#xA;as array formula (with CTRL + SHIFT + ENTER). You will get in C1:D1 22 and 7.&#xA;That means: 22/7 is the nearest rational number to π with a denominator not higher than 10.&#xA;For 1000 in B1 you would get 355/113.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
