问题
Input: Cell Value=6.25%;
var Value= ws1.Cell(rowNum, collNum).Value.ToString();
Output: 0.0625 Expected Output: 6.25%
回答1:
I find the solution by using .GetFormattedString() insted of .Value
来源:https://stackoverflow.com/questions/44159232/how-to-read-percentage-value-with-sign-from-excel-file-using-closedxml