% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/number_utils.R
\name{apply_decimal_mark}
\alias{apply_decimal_mark}
\title{Apply locale decimal mark to a sprintf-formatted string}
\usage{
apply_decimal_mark(x, marks)
}
\arguments{
\item{x}{Character string (already formatted with \code{sprintf}).}

\item{marks}{List with \code{big.mark} and \code{decimal.mark} as returned
by \code{\link{resolve_number_marks}}.}
}
\value{
Character string with corrected decimal marks and no negative zeros.
}
\description{
Replaces the period decimal mark in a \code{sprintf}-formatted string with
the locale-appropriate decimal mark, and fixes negative-zero artefacts.
}
\keyword{internal}
