Hello,
I'm trying to set a number to a decimal value through a style setting:
Style totStyleLast = workbook.Styles[workbook.Styles.Add()];
totStyleLast.Font.IsBold = true;
totStyleLast.Font.Size = 9;
Ideally, I'd like to set:
totStyleLast.Number = Decimal;
so that the number displayed in Excel 2010 will be displayed as a decimal value. Nothing I've tried does this. Looking at the class it seems that this can't be done.
Does anyone know how I can do this?
thanks,
Paul