Name

CSng Function

Synopsis

CSng(expression)
expression required; Numeric or String

The range of expression is -3.402823E38 to -1.401298E-45 for negative values, and 1.401298E-45 to 3.402823E38 for positive values.

Named Arguments

No

Return Value

expression cast as a Single data type

Description

Returns a single-precision number.

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.