3
Reply

c# Divide operation Not working

David Smith

David Smith

Nov 16 2017 1:09 PM
180
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)