% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/formatting.R
\name{to_million}
\alias{to_million}
\title{Format Numbers in Millions}
\usage{
to_million(x, suffix = " million", override_to_k = TRUE)
}
\arguments{
\item{x}{Numeric vector to format}

\item{suffix}{Character string to append after "million" (default: " million")}

\item{override_to_k}{Logical indicating whether to show values < 1M as
thousands (default: TRUE)}
}
\value{
Character vector of formatted numbers with "million" or "k" suffix
}
\description{
Converts large numeric values to millions format with appropriate suffix.
Values less than 1 million are shown in thousands.
}
\examples{
# Format in millions
to_million(c(5000, 1000000, 2500000))
}
