user image

Preeti Tripathi

Job Interview Skills
English
2 years ago

Question 185. How To Get The Number After Decimal Point In .net?if The No Is 2.36. Result Should Be 36?

user image

Abhishek Mishra

2 years ago

string result=number.Substring(number.inderOf('.')+1); It will first get the index of '.' and then add 1 to get the index of next charater then with the help of substring method we will get the no after the decimal point to the last

Recent Doubts

Close [x]