3
Answers

c# Divide operation Not working

David Smith

David Smith

7y
197
1
When I do this math below, I do not receive the decimal point.
 
string test = (2456 / 1000).To.String();
 
I get 2 instead of 2.456. How can I fix this issue. The answer suppose to be 2.456. Can someone assist me. 
Answers (3)