Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR BASIC

how to round a number in visual basic

Math.Round(Val({Value to be rounded}), {amount of decimal places})

Example:

Math.Round(Val(19/2), 0)
 
PREVIOUS NEXT
Tagged: #number #visual #basic
ADD COMMENT
Topic
Name
4+3 =