Search Results

Search: Posts Made By: kanagias
24,730
Posted By kanagias
yes you were right.the problem was with the dots...
yes you were right.the problem was with the dots (.), for some reason awk recognizes only the comma as a separator of the integral from the fractal part of the number.thanks for the help man
24,730
Posted By kanagias
neither awk or gawk works for me... :confused: ...
neither awk or gawk works for me... :confused:
anyway thanks for replying
24,730
Posted By kanagias
i just want to do simple mathematical...
i just want to do simple mathematical operations.to be more clear here is a test awk script i used

BEGIN{}

{

num = $1
sum += num

}

END {
print sum
}

where column 1 contains the...
24,730
Posted By kanagias
problem with floating point numbers in awk
hi all, i have the following problem using awk in a script

i want to read the values from a column with real numbers and calculate the mean.the problem is that when i use a statement such as this...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 07:42 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy