+92 332 4229 857 99ProjectIdeas@Gmail.com

Math Truncate function (Vb.net)


Math.Truncate (Vb.net)
Math.Truncate() returns the integral part of the specified number.
Input parameters data type
Math.Truncate() function accepts double or decimal as input parameter data type.

Example
MsgBox(Math.Truncate(5.7))
Return Value
It displays 5 in the message box.

0 comments: