A Model For The Currencies Of The Caliphates And The Europe During The Middle Ages And The Modern Era.