From 05a023a28a3556329b3b2476794b6e0de7bcf3b9 Mon Sep 17 00:00:00 2001 From: Dadepo Aderemi <272535+dadepo@users.noreply.github.com> Date: Sat, 24 Aug 2024 22:21:08 +0400 Subject: [PATCH] Updated read me --- supports/postgres.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/supports/postgres.md b/supports/postgres.md index 7e253d5..7dffadc 100644 --- a/supports/postgres.md +++ b/supports/postgres.md @@ -28,7 +28,7 @@ https://www.postgresql.org/docs/16/functions-math.html | ✅︎ | erf ( double precision ) → double precision | Error function | erf(1.0) → 0.8427007929497149 | | ✅ | erfc ( double precision ) → double precision | Complementary error function (1 - erf(x), without loss of precision for large inputs) | erfc(1.0) → 0.15729920705028513 | | ❓ | min_scale ( numeric ) → integer | Minimum scale (number of fractional decimal digits) needed to represent the supplied value precisely | min_scale(8.4100) → 2 | -| ❓ | mod ( y numeric_type, x numeric_type ) → numeric_type | Remainder of y/x; available for smallint, integer, bigint, and numeric | mod(9, 4) → 1 | +| ✅ | mod ( y numeric_type, x numeric_type ) → numeric_type | Remainder of y/x; available for smallint, integer, bigint, and numeric | mod(9, 4) → 1 | | ❓ | scale ( numeric ) → integer | Scale of the argument (the number of decimal digits in the fractional part) | scale(8.4100) → 4 | | ❓ | sign ( numeric ) → numeric | Sign of the argument (-1, 0, or +1) | sign(-8.4) → -1 | | ❓ | trim_scale ( numeric ) → numeric | Reduces the value's scale (number of fractional decimal digits) by removing trailing zeroes | trim_scale(8.4100) → 8.41 |