diff --git a/numeric.c b/numeric.c index 4cd4b7e451..d14d10fdd5 100644 --- a/numeric.c +++ b/numeric.c @@ -5722,7 +5722,7 @@ int_round(int argc, VALUE* argv, VALUE num) * - When `self` is non-zero and `ndigits` is negative, * returns a value based on a computed granularity: * - * - The granularity is 10 ** ndigits.abs. + * - The granularity is `10 ** ndigits.abs`. * - The returned value is the largest multiple of the granularity * that is less than or equal to `self`. * @@ -5791,7 +5791,7 @@ int_floor(int argc, VALUE* argv, VALUE num) * - When `self` is non-zero and `ndigits` is negative, * returns a value based on a computed granularity: * - * - The granularity is 10 ** ndigits.abs. + * - The granularity is `10 ** ndigits.abs`. * - The returned value is the smallest multiple of the granularity * that is greater than or equal to `self`. *