Skip to main content

Add-NumberFormater

SYNOPSIS

SYNTAX

Add-NumberFormater [-InputObject] <Double[]> [[-Type] <String>] [-ProgressAction <ActionPreference>]
[<CommonParameters>]

DESCRIPTION

Adding formater capabilities by overwriting the ToString method of the input double value

EXAMPLES

EXAMPLE 1

Add-NumberFormater -InputObject 2138476234 -Type DataSize
Processes the number 2138476234 and returns the value with the replaced ToString() method. This case would return "1,99 GB"

PARAMETERS

-InputObject

Defines the input value to process

Type: Double[]
Parameter Sets: (All)
Aliases: Double, Number

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-Type

Defines what type of value it is and what units to use. Available values is Standard and DataSize

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 2
Default value: Standard
Accept pipeline input: False
Accept wildcard characters: False

-ProgressAction

{{ Fill ProgressAction Description }}

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

EDIT THIS DOC

This page was auto-generated from the powershell command comment based help. To edit the content of this page, update the script file comment based help on github Github