DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

CDbl Function In Vb.net

03.25.2012
| 1936 views |
  • submit to reddit
        CDbl function in vb.net

Dim a As Decimal
Dim b As Double
a = 1254.76854D
b = CDbl(a * 8.2D * 0.01D)