| 138 | |
| 139 | |
| 140 | String *Item::val_string_from_decimal(String *str) |
| 141 | { |
| 142 | my_decimal dec_buf, *dec= val_decimal(&dec_buf); |
| 143 | if (null_value) |
| 144 | return 0; |
| 145 | my_decimal_round(E_DEC_FATAL_ERROR, dec, decimals, FALSE, &dec_buf); |
| 146 | my_decimal2string(E_DEC_FATAL_ERROR, &dec_buf, 0, 0, 0, str); |
| 147 | return str; |
| 148 | } |
| 149 | |
| 150 | |
| 151 | my_decimal *Item::val_decimal_from_real(my_decimal *decimal_value) |
nothing calls this directly
no test coverage detected