Hello. I need to convert decimal to int and convert always to upper value. For example decimal will be 4.12 and int should be 5. Do you have any solutions.
Thank you.
Rounding
Page 1 of 12 Replies - 177 Views - Last Post: 06 October 2012 - 02:09 AM
Replies To: Rounding
#2
Re: Rounding
Posted 06 October 2012 - 01:29 AM
Math.Ceiling() will do it. There are two versions, one for decimal and one for double. Link goes to decimal since that's what you said in your post.
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote



|