--- title: "Rounding Off with Conditional Tests" type: "article" slug: "rounding-off-with-conditional-tests" url: "http://localhost/article/rounding-off-with-conditional-tests/" markdown_url: "http://localhost/article/rounding-off-with-conditional-tests.md" published_at: "2020-10-27T17:19:20+00:00" modified_at: "2024-06-23T01:04:21+00:00" featured_image: url: "http://localhost/wp-content/uploads/2022/04/20230809-041332.jpg" excerpt: "We have all learned in plane geometry classes the Pythagorean theorem: a squared plus b squared equals c squared. Thus, if we know two sides of a right triangle, we can easily calculate the third. Or can we?" category: - name: "SYNC" slug: "sync" taxonomy: "category" url: "http://localhost/category/periodicals/sync/" post_tag: - name: "1982" slug: "year-1982" taxonomy: "post_tag" url: "http://localhost/tag/year-1982/" - name: "Type-in program" slug: "type-in-program" taxonomy: "post_tag" url: "http://localhost/tag/type-in-program/" - name: "ZX81" slug: "zx81" taxonomy: "post_tag" url: "http://localhost/tag/zx81/" model: - name: "Sinclair ZX81" slug: "zx81" taxonomy: "model" url: "http://localhost/model/zx81/" indiv: - name: "James Stauffer" slug: "james-stauffer" taxonomy: "indiv" url: "http://localhost/indiv/james-stauffer/" publication: "Sync" publication_r: id: 10243 title: "SYNC" type: "periodical" url: "http://localhost/periodical/sync-magazine/" authors: "James Stauffer" volume: "2" issue: "5" issues_articles: - id: 26645 title: "SYNC v2 n5" type: "issue" url: "http://localhost/issue/sync-v2-n5/" pages: "69" pubdate: "September/October 1982" archive_link: false volumeissue: "v2n5" --- # Rounding Off with Conditional Tests We have all learned in plane geometry classes the Pythagorean theorem: a squared plus b squared equals c squared. Thus, if we know two sides of a right triangle, we can easily calculate the third. Or can we?