RosettaCodeData/Task/Exponentiation-operator/AWK/exponentiation-operator-3.awk

3 lines
119 B
Awk
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
And if you want to use locales for decimal separator, you have tu use -N option :
$ gawk -N '{ printf("%f\n",$1^$2) }'