PowerShell Format Numbers and Dates as Strings ─□✕ March 21, 2026May 5, 2026 PowerShell Tips Editor 1 min read PowerShell Format Numbers and Dates as Strings Format numbers as currency or percentages and dates as any string with PowerShell’s -f operator and ToString() method examples.