Search Results

Search: Posts Made By: likeaix
62,375
Posted By likeaix
Script shell, how to calculate percentage?
hello,
please can you help me.

jj and kk are two numbers which are the result of an sql program.

I would like to calculate the ratio jj/kk*100.

I have done this:
ratio=$((jj/kk * 100))...
Showing results 1 to 1 of 1

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