mirror of
https://github.com/XRPLF/rippled.git
synced 2026-08-22 23:00:55 +00:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user