i want to get only the whole part of a decimal number.
how to do it in C#?
sample: 2.14=2
2.54=2
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
SolitairePosted Dec 12, 2006, 8:51 PM
will return 2
mafflePosted Dec 11, 2006, 7:36 PM
Graham ShoreyPosted Dec 11, 2006, 8:41 AM