--- title: "A Useful Utility: Decimal to Binary / Binary to Decimal" type: "article" slug: "a-useful-utility-decimal-to-binary-binary-to-decimal" url: "http://localhost/article/a-useful-utility-decimal-to-binary-binary-to-decimal/" markdown_url: "http://localhost/article/a-useful-utility-decimal-to-binary-binary-to-decimal.md" published_at: "2026-03-14T14:16:39+00:00" modified_at: "2026-03-14T14:16:40+00:00" featured_image: url: "http://localhost/wp-content/uploads/2022/04/20230809-041332.jpg" excerpt: "A BASIC program for the TS-2068 that converts decimal numbers to binary and binary back to decimal, including fractional and whole numbers. Also includes a printed Dec-Hex-Binary reference chart. Submitted as a useful aid when writing assembly code." category: - name: "Timelinez" slug: "timelinez" taxonomy: "category" url: "http://localhost/category/periodicals/timelinez/" post_tag: - name: "BASIC (programming language)" slug: "basic-programming-language" taxonomy: "post_tag" url: "http://localhost/tag/basic-programming-language/" - name: "TS 2068" slug: "ts2068" taxonomy: "post_tag" url: "http://localhost/tag/ts2068/" - name: "Type-in program" slug: "type-in-program" taxonomy: "post_tag" url: "http://localhost/tag/type-in-program/" model: - name: "Timex/Sinclair 2068" slug: "ts-2068" taxonomy: "model" url: "http://localhost/model/ts-2068/" indiv: - name: "Fred Templeton" slug: "fred-templeton" taxonomy: "indiv" url: "http://localhost/indiv/fred-templeton/" publication_r: id: 21571 title: "Timelinez" type: "periodical" url: "http://localhost/periodical/timelinez/" authors_r: - name: "Fred Templeton" slug: "fred-templeton" taxonomy: "indiv" url: "http://localhost/indiv/fred-templeton/" volume: "4" issue: "5" issues_articles: - id: 38835 title: "Timelinez v4 n5" type: "issue" url: "http://localhost/issue/timelinez-v4-n5/" pages: "207" pubdate: "May 1986" archive_link: false --- # A Useful Utility: Decimal to Binary / Binary to Decimal A BASIC program for the TS-2068 that converts decimal numbers to binary and binary back to decimal, including fractional and whole numbers. Also includes a printed Dec-Hex-Binary reference chart. Submitted as a useful aid when writing assembly code.