Home > Net >  WPF is my Model in the background statement data type double, why the default is 0 at the front desk
WPF is my Model in the background statement data type double, why the default is 0 at the front desk

Time:10-17

WPF is my Model in the background statement data type double, why the default is 0 at the front desk, rather than 0.0?

CodePudding user response:

CodePudding user response:

The data I wrote are type double

CodePudding user response:

Empty string type

CodePudding user response:

It requires you to format when using the decimal,

CodePudding user response:

reference 4 floor tian-xing zhang response:
it requires you to formatting a decimal, when using the

I'm doing a about json configuration file configuration tool, I finally saved the WPF automatically into type I defined in the Model, the default time is double data is 0, why not 0.0
  •  Tags:  
  • C#
  • Related