[#mp_units-quantity_point-08-force_in-01] = xref:mp_units.adoc[mp_units]::xref:mp_units/quantity_point-08.adoc[quantity_point]::force_in :relfileprefix: ../../ :mrdocs: Deprecated. Returns this quantity point re‐expressed with another representation type, truncating if inexact. == Synopsis Declared in `<mp‐units/framework/quantity_point.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<xref:mp_units/RepresentationOf.adoc[RepresentationOf<quantity_spec>] ToRep> requires std::constructible_from<ToRep, rep> [[deprecated("2.6.0: use `in<Rep>(policy)` with a rounding policy (e.g. `truncated`) instead"), nodiscard]] constexpr xref:mp_units/QuantityPointOf.adoc[QuantityPointOf<quantity_spec>] auto force_in() const; ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]: 2.6.0: use `in<Rep>(policy)` with a rounding policy (e.g. `truncated`) instead. Use of this entity is allowed but discouraged. ==== == Return Value The equivalent quantity point with representation type `ToRep`. [NOTE] ==== The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^]. ==== [.small]#Created with https://www.mrdocs.com[MrDocs]#