implement float/int convertion for currency values