Display: Cloud | List
Most Popular Tags
Results (3 total) All > powershell (x) > tostring() (x)
Third sample recoded in PowerShell (How to: Pad a Number with Leading Zeros)
<#.SYNOPSIS Shows formatting of double values..DESCRIPTION This script, a re-implementation of an MSDN Sample, creates a double value then formats it with 5 leading zeros..NOTES File Name : Show-NumberPadding3.ps1 Author : Thomas Lee - tfl@psp.co.uk Requires : PowerShell Version 2.0.LINK This script posted to: http://pshscripts.blogspot.com/ MSDN sa
Last modified by Thomas Lee on 11/12/2011 2:21:49 PM
Padding a number - Sample using PowerShell (How to: Pad a Number with Leading Zeros)
<#.SYNOPSIS Shows formatting of leading Zeros.DESCRIPTION This script, a re-implementation of an MSDN Sample, creates several numbers of varying type, then displays them using .NET Formatting. The second set of formatting shows the difference between .ToString() and composite format strings to format - to approaches that accomplish the same goal!.NOTES File Name :
Last modified by Thomas Lee on 11/12/2011 2:20:45 PM
<#.SYNOPSIS This script shows the first two samples on this MSDN Page, convered to PowerShell .DESCRIPTION This script displays two lines of text using PowerShell and .NET formatting information.NOTES File Name : Show-StandardNFS-1.ps1 Author : Thomas Lee - tfl@psp.co.uk Requires : PowerShell Version 2.0.LINK This script posted to: http://www.pshscripts.blo
Last modified by Thomas Lee on 10/31/2011 11:26:28 AM
Page view tracker