VB.Net/Language Basics/Long
Версия от 16:40, 26 мая 2010; (обсуждение)
Long and Single Number
Imports System
Public Class MainClass
Shared Sub Main( )
Dim l As Long
Dim s As Single
l = Long.MaxValue
Console.WriteLine(l)
s = Convert.ToSingle(l)
s -= 1000000000000
l = Convert.ToInt64(s)
Console.WriteLine(l)
End Sub "Main
End Class