When datum converts to decimal, we should check the Flen and Decimal of the given field type, return max value for overflow and round the value for truncation.