add type cast for unsinged decimal