% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/number_utils.R
\name{format_pvalue}
\alias{format_pvalue}
\title{Format a \emph{p}-value with locale-aware decimal mark}
\usage{
format_pvalue(p, digits, marks)
}
\arguments{
\item{p}{Numeric \emph{p}-value.}

\item{digits}{Integer number of decimal places.}

\item{marks}{List with \code{big.mark} and \code{decimal.mark} as returned
by \code{\link{resolve_number_marks}}.}
}
\value{
Character string with the formatted \emph{p}-value.
}
\description{
Converts a numeric \emph{p}-value to a display string with the correct
decimal separator and threshold notation (\emph{e.g.,} "< 0.001" or "< 0,001").
}
\keyword{internal}
