Need scripting help in :Adding 20% to a list of number :

Hi Experts,

I want to add 20% to the values and get an output , please advise with script , awk etc,

# cat datafile.txt

50.4053
278.383
258.164
198.743
4657.66
12.7441
646.787
1.56836
23.2969
191.805
53.3096
1.12988
999.058
4100.29
939.292
447.169
1443.26
100.499
115.008
4657.66
1249.1
9405.71
4.31738
1.59082
1672.83
11.9424
1.3291
10239.9
32.3467
1672.83

Thanks in advance,

awk '{print $1*1.2}' datafile.txt
1 Like

Thanks , Resolved.