How to print only number using awk command in Linux ?

Now I'm trying summary sar data.

CPU , Memory , Traffic , TPS (Min Max value)

CPU is okay using below command.

[Server]$  sar -p | awk '{gsub(/[^0-9. ]/,"")}1' | awk 'BEGIN {min=1000000; max=0;};\
 { if($7<min && $7 != "") min = $7; if($7>max && $7 != "") max = $7; } END {print min, max}'
98.93 99.55

but other things.....It doesn't work....

Please teach me why it doesn't work for another value.

Can you explain what does not work?
Please give us a line or two of data and the "wrong" output, then tell us what it should be.

Your code looks like it is finding the maximum and minimum values for a given field. I would suspect the data is not completely consistent.