How To Eliminate Decimal Points In VB.net

How To Eliminate Decimal Points In VB.net

For example, i have number x= 12.13
i only want to show x= 12
and if i have another number x=12.89
i want to show x=13

========================================================================================
Dim y As Integer
Dim x As Double = CType(LABEL1.Text, Double)
y = Convert.ToInt32(x)
========================================================================================

1 comment:

Anonymous said...

good afternoon fellas. I'm really into shoes and I was looking allowing for regarding that meticulous brand. The prices due to the fact that the sneakers are around 190 pounds on every page. But for all I bring about this area selling them for half price. I in reality love these [url=http://www.shoesempire.com]prada sneakers[/url]. I will definetly purchase them. what can you say about it?