Giter VIP home page Giter VIP logo

zakatcalculator's Introduction

Zakat Calculator

This is a simple program that will help you calculate Zakat if you've ever wanted to verify and back-date from your transaction history how much you are due.

Assumptions

I am assuming that we are using the value of gold at £31.00 per gram and the amount of gold to be eligible to be 70 grams, that is £2170.00 in my locality, you should check at your nearest dealer what the value of gold is there.

I am also assuming you have no liabilities to consider in this account, as that is a bit too complex to figure out

Method of calculation

My method of calculation as per my local imam is as follows:

  • You find the very first date in which you exceeded the nisaab value (£2170 in this case)
  • The next lunar year on the same day you check whether you still are above the nisaab threshold, if you are not, you do not pay Zakat and you return to the first step. If you are above the threshold, you pay 2.5% of whatever is in the account using the value of gold today.

Example

This is the format that is required as a .txt file:

Date: 01/06/2017
Balance: 1156.07

Date: 01/06/2017
Balance: 1217.06

Date: 01/06/2017
Balance: 1235.05

Date: 31/05/2017
Balance: 1357.03

Date: 31/05/2017
Balance: 1367.03

I did this by going on my bank web portal and exporting my transactions, then using Sublime Text to format it so I can only see my balance on that date.

zakatcalculator's People

Contributors

zkhan96 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.