% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/number_utils.R
\name{resolve_number_marks}
\alias{resolve_number_marks}
\title{Resolve number format marks}
\usage{
resolve_number_marks(number_format = NULL)
}
\arguments{
\item{number_format}{Character string specifying a named preset, a
  two-element character vector \code{c(big.mark, decimal.mark)}, or
  \code{NULL} to use the global option (falling back to \code{"us"}).

  Named presets:
  \describe{
    \item{\code{"us"}}{Comma thousands, period decimal: 1,234.56}
    \item{\code{"eu"}}{Period thousands, comma decimal: 1.234,56}
    \item{\code{"space"}}{Thin-space thousands, period decimal: 1 234.56
      (SI/ISO 31-0 standard)}
    \item{\code{"none"}}{No thousands separator, period decimal: 1234.56}
  }

  Custom vector: \code{c(",", ".")} or \code{c(".", ",")} \emph{etc.} The first
  element is \code{big.mark}, the second is \code{decimal.mark}.}
}
\value{
A list with components:
  \describe{
    \item{\code{big.mark}}{Character string for thousands separator.}
    \item{\code{decimal.mark}}{Character string for decimal separator.}
  }
}
\description{
Converts a \code{number_format} specification into a list of \code{big.mark}
and \code{decimal.mark} values used by all downstream formatting functions.
Supports named presets, custom two-element vectors, and the global
\code{summata.number_format} option.
}
\keyword{internal}
