How to remove the trailing zeroes in evaluated value