我定義在我的實體部分decimal性質: public class Entity1
{
public int Id { get; set; }
public decimal Value {get; set;}
}
因爲我要救最大小數點後4位爲我小數,在我的配置文件,我定義爲: this.Property(t => t.Value).HasPrecision(18, 4
我正在使用宏更改單元格中顯示的小數位數。我想宏觀與定製各種格式的工作,我有我要適當地改變下面的例子: $ #,##0.00" Test 0.00";[Red]$ -#,##0.00" Test 0.00"
$ #,##0.00" Test 0.00";[Red]$ -#,##0.00" Test 0.00"
$ #,##0.0000" Test 0.00";[Red]$ -#,##0.0000