help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Local variables for nested function calls


From: eduardo-chibas
Subject: Local variables for nested function calls
Date: Wed, 28 Jul 2021 23:40:36 +0200


> Sent: Thursday, July 29, 2021 at 9:34 AM
> From: eduardo-chibas@caramail.com
> To: eduardo-chibas@caramail.com
> Cc: "Greg Wooledge" <greg@wooledge.org>, help-bash@gnu.org
> Subject: Local variables for nested function calls
>
> Are numbers usually declared with
>
> num=5
>
> Is there any advantage using
>
> declare -i num

for floats I do the same thing, example

x=2.8026407

Is this fine?








reply via email to

[Prev in Thread] Current Thread [Next in Thread]