How to split cpu speed and take only the integer part in module 2 milestone 2

i am stuck at how to take only the integer part of cpu speed in module 2 milestone 2 I tried using awk but i am not understanding how to use it somebody plz help

Please always go through the forum before asking
There are many ways to do it,If you google about splitting of decimal part you may find many solution.
for your reference you may check this link i have already posted it in forum https://stackoverflow.com/questions/8356698/how-to-remove-decimal-from-a-variable

1 Like