Skip to content

Commit

Permalink
fix: spell fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SGSSGene authored and jbeder committed Nov 7, 2024
1 parent ebfbf27 commit 9ce5a25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fptostring.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down

0 comments on commit 9ce5a25

Please sign in to comment.