mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2025-09-08 12:21:17 +00:00
fix: spell fix
This commit is contained in:

committed by
Jesse Beder

parent
ebfbf27115
commit
9ce5a25188
@@ -194,7 +194,7 @@ std::string FpToString(T v, int precision = 0) {
|
||||
|
||||
if (digits_iter != digits_end) {
|
||||
*(output_ptr++) = '.';
|
||||
// print 0 afer decimal point, to fill until first digits
|
||||
// print 0 after decimal point, to fill until first digits
|
||||
int const after_decimal_zeros = -digits_ct - r.exponent;
|
||||
for (int i{0}; i < after_decimal_zeros; ++i) {
|
||||
*(output_ptr++) = '0';
|
||||
|
Reference in New Issue
Block a user