From c4513404c70d18713b52674d2e3604d1e4f2d0ec Mon Sep 17 00:00:00 2001 From: Angelos Chalaris Date: Fri, 13 Nov 2020 19:49:57 +0200 Subject: [PATCH] Update toOrdinalSuffix.md --- snippets/toOrdinalSuffix.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snippets/toOrdinalSuffix.md b/snippets/toOrdinalSuffix.md index f0262f2f8..553b74f51 100644 --- a/snippets/toOrdinalSuffix.md +++ b/snippets/toOrdinalSuffix.md @@ -3,7 +3,7 @@ title: toOrdinalSuffix tags: math,intermediate --- -Adds an ordinal suffix to a number. +Takes a number and returns it as a string with the correct ordinal indicator suffix. - Use the modulo operator (`%`) to find values of single and tens digits. - Find which ordinal pattern digits match.