double serviceability =(double)(count1+count2)/sum;
需要进行强转 除数 这样得到的值就是double类型了
Powered by: 博客园 Copyright © 2024 诗意的活着 Powered by .NET 8.0 on Kubernetes