From aef13d7f26beda68669ad658a555e29fb98c3ae4 Mon Sep 17 00:00:00 2001 From: Kevin Mok Date: Sat, 18 Jan 2025 11:14:21 -0500 Subject: [PATCH] AVAX first 3 digits --- scripts/executable_kraken | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/executable_kraken b/scripts/executable_kraken index 3548f4e..8717d8f 100755 --- a/scripts/executable_kraken +++ b/scripts/executable_kraken @@ -28,7 +28,8 @@ if (( $(echo "$price < 1" | bc -l) )); then elif (( $(echo "$price < 10" | bc -l) )); then printf "%0.3f\n" "$price" | cut -c 3- elif (( $(echo "$price < 100" | bc -l) )); then - echo "$price" | numfmt --grouping | cut -c -2 + #echo "$price" | numfmt --grouping | cut -c -2 + echo "$price" | tr -d '.' | awk '{print substr($0, 1, 3)}' elif (( $(echo "$price < 1000" | bc -l) )); then echo "$price" | numfmt --grouping | cut -c -3 elif (( $(echo "$price < 10000" | bc -l) )); then