[#mp_units-treat_as_floating_point] = xref:mp_units.adoc[mp_units]::treat_as_floating_point :relfileprefix: ../ :mrdocs: Specifies if a value of a type should be treated as a floating‐point value == Synopsis Declared in `<mp‐units/framework/customization_points.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename Rep> constexpr bool treat_as_floating_point = std::chrono::treat_as_floating_point_v<value_type_t<Rep>>; ---- == Description This type trait should be specialized for a custom representation type to specify that values of this type should be treated by the library as a floating‐point ones which will enable implicit conversions between quantities. == Template Parameters [cols=2] |=== | Name | Description | *Rep* | a representation type for which a type trait is defined |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#