ReactOS  0.4.14-dev-552-g2fad488
complete_digits.h File Reference
#include <string>
Include dependency graph for complete_digits.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void complete_digits (std::string &digits)
 

Function Documentation

◆ complete_digits()

void complete_digits ( std::string digits)
inline

Definition at line 8 of file complete_digits.h.

12 {
13  while (digits.size() < 2)
14  {
15  digits.insert(digits.begin(), '0');
16  }
17 }
static const int digits[]
Definition: decode.c:71

Referenced by LocaleTest::_num_put_get(), and NumPutGetTest::num_put_float().