saving endvalue in database
calculating between currencies