This Zaqath calculator program is based on the Shafie school of jurisprudence. The algorithm is prepared after a study on the particular topic. The masail of this algorithm is from Fat'ul Mueen of Zainudheen Maqdoom Al Malaibari.
PS: Gold and Silver prices are changeable in accordance with their geo location and currency variation. The currency format followed in the code is Indian Rupees. You can modify it in accordance to your country.