Syntax for rounding up in VB.NET
vb.net
Solution
If you want regular rounding, you can just use the `Math.Round` method. If you specifially want to round upwards, you use the `Math.Ceiling` method:
Dim d As Decimal = 2.566666
Dim r As Decimal = Math.Ceiling(d * 100D) / 100D
Problem
What is the syntax to round up a decimal leaving two digits after the decimal point? Example: 2.566666 -> 2.57