Hi guys
I hope you can help me out.
Basically, I am just using the following code in my page:
<%=((4.5 / 100 / 12) * (int)(SearchResult.Price)) / (1 - Math.Pow((1 + (4.5 / 100 / 12)) , (-3 * 12)))%>
which give me results displayed on my page such as:
17.6994200646338
How would I round this up to the nearest whole number? So, in this example it would be:
18
What do I need to add to my code to do this? Any help would be fully appreciated
Best regards
Rod from the UK
برچسب:
نویسنده: آیلین رضوانی
تاريخ: شنبه
18 شهريور
1396 ساعت: 4:26