From da9611e04026e5ad9e684da5c8fb1c5813953c29 Mon Sep 17 00:00:00 2001 From: Joachim Ansorg Date: Fri, 12 Nov 2021 19:29:11 +0100 Subject: [PATCH] Updated SC2079 (markdown) --- SC2079.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SC2079.md b/SC2079.md index 19d880e..963c973 100644 --- a/SC2079.md +++ b/SC2079.md @@ -1,4 +1,4 @@ -# (( )) doesn't support decimals. Use bc or awk. +## `(( ))` doesn't support decimals. Use `bc` or `awk`. Bash [arithmetic conditional evaluation can only be performed on integers](https://www.tldp.org/LDP/abs/html/comparison-ops.html). More detail: Bash has limited data types which [include integer](http://www.tldp.org/LDP/abs/html/declareref.html), but everything is effectively [untyped](http://www.tldp.org/LDP/abs/html/untyped.html).