Monday, 13 April 2015

How to convert the Decimal to the Integer

Code Snippet

Decimal DecimalVal = 17.5555;
Integer IntegerValue  =  DecimalVal.intValue();


Out Put :-

17




No comments:

Post a Comment