determine input type and value of the Currency