Search Results

Search: Posts Made By: mariaa33
2,324
Posted By mariaa33
Strange Results
Thank you. Guess I should have remembered my basic math rules of multiply before divide.
2,324
Posted By mariaa33
Strange Results
I am using th following to get the percentage and have never used bc before:
percent=$(echo "scale=4;(34117/384000)*100" | bc)
8.884600
percent=$(echo "scale=2;(34117/384000)*100" | bc)
8.00
...
Showing results 1 to 2 of 2

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