Convert value to string before casting to decimal