Taxmate: version 2

Any discussions related to the creation of new hardware or software for the ZX80 or ZX81
Post Reply
Crayon21
Posts: 347
Joined: Sun Nov 04, 2018 2:33 am

Taxmate: version 2

Post by Crayon21 »

so this is a little project of mine that calculates your tax (couldn't get utilities to work, not worth it) and shows it. works with 1k.

I will update as needed. This is the final revision

I would appreciate your comments and discussions regarding it
Attachments
taxmate vesion 2 final.TZX
(548 Bytes) Downloaded 124 times
Last edited by Crayon21 on Wed Feb 10, 2021 6:01 am, edited 3 times in total.
In Heck, there are two options for perpetual torment:

Eat the Puckerberry and suffer for eternity:
drink nothing but a cocktail of The Last Dab and Mexican Cake blended and served with
habanero slices
:twisted:
David G
Posts: 387
Joined: Thu Jul 17, 2014 7:58 am
Location: 21 North, 156 West

Re: Taxmate: First and final release

Post by David G »

Crayon21 wrote: Mon Feb 08, 2021 2:57 am so this is a little project of mine that calculates your tax ... I would appreciate your comments and discussions regarding it
Needs an Rounding command on the final results? I tried INT but the results look amateurish
Crayon21
Posts: 347
Joined: Sun Nov 04, 2018 2:33 am

Re: Taxmate: First and final release

Post by Crayon21 »

rounding command? ideas?
In Heck, there are two options for perpetual torment:

Eat the Puckerberry and suffer for eternity:
drink nothing but a cocktail of The Last Dab and Mexican Cake blended and served with
habanero slices
:twisted:
David G
Posts: 387
Joined: Thu Jul 17, 2014 7:58 am
Location: 21 North, 156 West

Re: Taxmate: First and final release

Post by David G »

ROUND(num,2) to two digits to show the cents

unfortunately Sinclair BASIC doesn't have a ROUND command


perhaps use Something like

Code: Select all

   LET Y=(I)+SIN (U)-8.25
   LET Y=INT(Y*100)/100
   PRINT Y
Taxmate may have a bug, the utilities tax are almost as much as the income tax
User avatar
siggi
Posts: 988
Joined: Thu May 08, 2008 9:30 am
Location: Wetterau, Germany
Contact:

Re: Taxmate: version 2

Post by siggi »

RND (X) is equivalent to INT (x+0.5) to round to the next integer number.
If necessary multiply/divide by 100 to round to the 2nd digit after the "."

HTH Siggi
My ZX81 web-server: online since 2007, running since dec. 2020 using ZeddyNet hardware
http://zx81.ddns.net/ZxTeaM
Post Reply