/
aprogrammer
/
dotnet-docs
Обзор
Документация
Войти
/
aprogrammer
/
dotnet-docs
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
docs/fundamentals/runtime-libraries/snippets/System/String/Format/vb/qa28.vb
16 строк
471 B
Genevieve Warren
Move member remarks (#39270)
30 янв 2024, 00:43
Не верифицирован
30 янв 2024, 00:43
6c88824
Код
Авторство
О чём код?
'Visual Basic .NET Document Option Strict On ' <Snippet28> Module Example9 Public Sub Main() Dim value As Integer = 16342 Dim result As String = String.Format("{0,18:00000000} {0,18:00000000.000} {0,18:000,0000,000.0}", value) Console.WriteLine(result) End Sub End Module ' The example displays the following output: ' 00016342 00016342.000 0,000,016,342.0 ' </Snippet28>