| 719 | } |
| 720 | |
| 721 | void CLineInputNumber::SetFloat(float Number) |
| 722 | { |
| 723 | char aBuf[32]; |
| 724 | str_format(aBuf, sizeof(aBuf), "%.3f", Number); |
| 725 | if(str_comp(aBuf, GetString()) != 0) |
| 726 | Set(aBuf); |
| 727 | } |
| 728 | |
| 729 | float CLineInputNumber::GetFloat() const |
| 730 | { |
no test coverage detected