Name

Round Function — System.Math

Synopsis

Math.Round( value[,digits])
value required; Numeric expression

Any numeric expression

digits optional; Integer

The number of places to include after the decimal point

Return Value

The same data type as value

Description

Rounds a given number to a specified number of decimal places.

Get VB.NET Language Pocket Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.