summaryrefslogtreecommitdiff
path: root/numeric.c
diff options
context:
space:
mode:
authorPeter Zhu <[email protected]>2024-07-08 19:38:00 -0400
committerPeter Zhu <[email protected]>2024-07-09 08:55:58 -0400
commitab3fa8dece76bd9e5db03af885d411ddd7089651 (patch)
tree5aa5dd65229be97deefd2602b20ea4a9be4f0612 /numeric.c
parent5de6d0b35f17520ada1c2e9433022827b14d780e (diff)
[DOC] Use backticks instead of HTML tags
Diffstat (limited to 'numeric.c')
-rw-r--r--numeric.c4
1 files changed, 2 insertions, 2 deletions
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 <tt>10 ** ndigits.abs</tt>.
+ * - 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 <tt>10 ** ndigits.abs</tt>.
+ * - The granularity is `10 ** ndigits.abs`.
* - The returned value is the smallest multiple of the granularity
* that is greater than or equal to `self`.
*