mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2025-10-27 14:31:20 +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) {
|
if (digits_iter != digits_end) {
|
||||||
*(output_ptr++) = '.';
|
*(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;
|
int const after_decimal_zeros = -digits_ct - r.exponent;
|
||||||
for (int i{0}; i < after_decimal_zeros; ++i) {
|
for (int i{0}; i < after_decimal_zeros; ++i) {
|
||||||
*(output_ptr++) = '0';
|
*(output_ptr++) = '0';
|
||||||
|
|||||||
Reference in New Issue
Block a user