docs: Fix some comments to improve readability (#7122)

Signed-off-by: box4wangjing <box4wangjing@outlook.com>
Co-authored-by: Mayukha Vadari <mvadari@ripple.com>
This commit is contained in:
box4wangjing
2026-05-21 04:46:45 +09:00
committed by GitHub
parent 9cb049276d
commit a5d238e7d4
5 changed files with 6 additions and 6 deletions

View File

@@ -1505,7 +1505,7 @@ roundToScale(STAmount const& value, std::int32_t scale, Number::RoundingMode rou
STAmount const referenceValue{value.asset(), STAmount::kMinValue, scale, value.negative()};
NumberRoundModeGuard const mg(rounding);
// With an IOU, the the result of addition will be truncated to the
// With an IOU, the result of addition will be truncated to the
// precision of the larger value, which in this case is referenceValue. Then
// remove the reference value via subtraction, and we're left with the
// rounded value.