How to ignore value after first decimal point first value if it is 0 else take it if greater than 0?

后端 未结 2 1059
别那么骄傲
别那么骄傲 2021-01-14 05:59

I am having a value like below :

decimal val = 1.100;

Now what i am trying to do is if i am having 0 after first decimal point value then i

2条回答
提交回复
热议问题