I am in the middle of some script wrangling. I am having difficulty making bc work how I want.
[EMAIL PROTECTED] user]$ echo "scale=0; 2*2.3" |bc returns 4.6. I want it to return an integer. How do I make bc do this? Cheers Ross Drummond
I am in the middle of some script wrangling. I am having difficulty making bc work how I want.
[EMAIL PROTECTED] user]$ echo "scale=0; 2*2.3" |bc returns 4.6. I want it to return an integer. How do I make bc do this? Cheers Ross Drummond