Bool to int

 

 

Convert bool to int

 

(int) ((this.SetmnType == NewmnType.mbol) ? 1 : 0)

 

 

 

 Convert float to int

 

 (int)(float)90f:

posted @ 2010-04-15 12:22  greencolor  阅读(444)  评论(0编辑  收藏  举报