[#mp_units-unit_symbol_solidus]
= xref:mp_units.adoc[mp&lowbar;units]::unit&lowbar;symbol&lowbar;solidus
:relfileprefix: ../
:mrdocs:

Specifies how the solidus (`&sol;`) is used when formatting a unit symbol&apos;s denominator

== Synopsis

Declared in `&lt;mp&hyphen;units&sol;framework&sol;unit&lowbar;symbol&lowbar;formatting&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
enum class unit&lowbar;symbol&lowbar;solidus : int8&lowbar;t;
----

== Members

[cols="1,4"]
|===
| Name| Description
| `one&lowbar;denominator` 
| A solidus is used only if there is exactly one unit in the denominator (e&period;g&period; `m&sol;s`&semi; `kg m⁻¹ s⁻¹`)
| `always` 
| A solidus is always used for a non&hyphen;empty denominator (e&period;g&period; `m&sol;s`&semi; `kg&sol;(m s)`)
| `never` 
| A solidus is never used&semi; negative exponents are used instead (e&period;g&period; `m s⁻¹`&semi; `kg m⁻¹ s⁻¹`)
| `default&lowbar;solidus` 
| The default solidus behavior, equal to `one&lowbar;denominator`
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
