C#中二进制的小数如何转换为十进制

2025-04-09 01:07:57
推荐回答(1个)
回答1:

试试这个函数:Convert.ToString(input,10)
input:你要转换的二进制数;
10:表示转换成十进制数;