The value was always showing 0 for decimal values as well. Now this issue is fixed

Please review the same..