On Mon, Feb 10, 2025 at 1:15 PM Greg Wooledge <[email protected]> wrote:
Ha now we introduce signed (not obvious from original post)
> The following line noise is the best *general* answer we've found
> so far:
>
> $((${num%%[!+-]*}10#${num#[-+]}))
If 'best *general*' refer to the shortest line noise does
$((${i/?([-+])/&10#}))
Qualify for better than best ? :-) if so you may add in your web bible
don't forget to mention the inventor :-)
Nice and easy
