ss_pct_formatter: ss_pct_formatter

View source: R/mod_summary_functions_server.R

ss_pct_formatterR Documentation

ss_pct_formatter

Description

Formats winning percentages as a string with three digits after the the decimal point and no leading zero, e.g. ".542". Will return "1.000" for a perfect record.

Usage

ss_pct_formatter(pct)

Arguments

pct

Number to format

Value

Formatted winning percentage.


tor-gu/streakexplorer documentation built on Aug. 2, 2022, 8:22 p.m.