Anyway you shouldn't use preformatted values for calculations. $gettok(,71) is not only unnecessary, it will make your script fail if a value is e.g. MB or TB... smirk