Hi
In my application i want to convert integer to decimal. I get a input and using convert function to convert into decimal. But it shows as it self. My code like as below, Is any wrong in my code
dim input as long // I declare as long
dim decimaloutput as decimal
decimaloutput = Convert.ToDecim al(input)
label1.text = decimaloutput.T oString()
Sample output : 24
Decimal of 24 is 24
Is it correct or How can it display the output
Hope your reply
In my application i want to convert integer to decimal. I get a input and using convert function to convert into decimal. But it shows as it self. My code like as below, Is any wrong in my code
dim input as long // I declare as long
dim decimaloutput as decimal
decimaloutput = Convert.ToDecim al(input)
label1.text = decimaloutput.T oString()
Sample output : 24
Decimal of 24 is 24
Is it correct or How can it display the output
Hope your reply
Comment