mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:47:45 +00:00
LibC: Allow parsing numbers right on the cutoff
This commit is contained in:
parent
0132e494d6
commit
2a45d30302
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ private:
|
|||
if (is_below_cutoff) {
|
||||
return true;
|
||||
} else {
|
||||
return m_num == m_cutoff && digit < m_max_digit_after_cutoff;
|
||||
return m_num == m_cutoff && digit <= m_max_digit_after_cutoff;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue