| 677 | /// if the whole part is zero otherwise there will be no left padding. |
| 678 | template<typename T> |
| 679 | inline std::string DecimalValue<T>::ToString(const ColumnType& type) const { |
| 680 | DCHECK_EQ(type.type, TYPE_DECIMAL); |
| 681 | return ToString(type.precision, type.scale); |
| 682 | } |
| 683 | |
| 684 | template<typename T> |
| 685 | inline std::string DecimalValue<T>::ToString(int precision, int scale) const { |