| 1580 | |
| 1581 | |
| 1582 | bool Protocol_text::store_float(float from, uint32 decimals) |
| 1583 | { |
| 1584 | #ifndef DBUG_OFF |
| 1585 | DBUG_ASSERT(valid_handler(field_pos, PROTOCOL_SEND_FLOAT)); |
| 1586 | field_pos++; |
| 1587 | #endif |
| 1588 | Float(from).to_string(&buffer, decimals); |
| 1589 | return store_numeric_string_aux(buffer.ptr(), buffer.length()); |
| 1590 | } |
| 1591 | |
| 1592 | |
| 1593 | bool Protocol_text::store_double(double from, uint32 decimals) |
no test coverage detected