< Back

Measure-Tip

Mon Jan 13, 2020 7:41 pm

NAME Measure-Tip



SYNOPSIS





SYNTAX

Measure-Tip [-Check] <Double> [-ServiceQuality] <String> [[-MyRate] <Double>] [-RoundUp] [[-Split] <UInt32>]

[<CommonParameters>]





DESCRIPTION

Calculates tips.





Select service quality to determine the tip percent:



* OK (15%)

* Good (20%)

* Awesome (25%)



Then choose if you want to round up





PARAMETERS

-Check <Double>

The check



Required? true

Position? 1

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



-ServiceQuality <String>

The quality of the service



Required? true

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-MyRate <Double>

If you want, set your own rate.



Required? false

Position? 3

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



-RoundUp [<SwitchParameter>]

If set, will round tips up to the nearest dollar



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-Split <UInt32>

The number of ways the check is split



Required? false

Position? 4

Default value 1

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS





RELATED LINKS