David Smith

David Smith

  • NA
  • 2k
  • 0

c# Divide operation Not working

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