[#BloombergLP-bdldfp-operator_lt-08]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdldfp.adoc[bdldfp]::operator&lt;
:relfileprefix: ../../
:mrdocs:

Less&hyphen;than operators

== Synopses

Declared in `&lt;bdldfp&lowbar;decimal&period;h&gt;`

Return `true` if the specified `lhs` has a value less than the specified `rhs` and `false` otherwise&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/bdldfp/operator_lt-07.adoc[operator&lt;](
    xref:BloombergLP/bdldfp/Decimal32.adoc[Decimal32] lhs,
    xref:BloombergLP/bdldfp/Decimal32.adoc[Decimal32] rhs);
----

[.small]#xref:BloombergLP/bdldfp/operator_lt-07.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` has a value less than the specified `rhs` and `false` otherwise&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/bdldfp/operator_lt-06.adoc[operator&lt;](
    xref:BloombergLP/bdldfp/Decimal64.adoc[Decimal64] lhs,
    xref:BloombergLP/bdldfp/Decimal64.adoc[Decimal64] rhs);
----

[.small]#xref:BloombergLP/bdldfp/operator_lt-06.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` has a value less than the specified `rhs` and `false` otherwise&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/bdldfp/operator_lt-0ae.adoc[operator&lt;](
    xref:BloombergLP/bdldfp/Decimal32.adoc[Decimal32] lhs,
    xref:BloombergLP/bdldfp/Decimal64.adoc[Decimal64] rhs);
----

[.small]#xref:BloombergLP/bdldfp/operator_lt-0ae.adoc[_» more&period;&period;&period;_]#

Return `true` if `lhs` is less than `rhs`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/bdldfp/operator_lt-0b.adoc[operator&lt;](
    xref:BloombergLP/bdldfp/Decimal64.adoc[Decimal64] lhs,
    xref:BloombergLP/bdldfp/Decimal32.adoc[Decimal32] rhs);
----

[.small]#xref:BloombergLP/bdldfp/operator_lt-0b.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` has a value less than the specified `rhs` and `false` otherwise&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/bdldfp/operator_lt-0a2.adoc[operator&lt;](
    xref:BloombergLP/bdldfp/Decimal128.adoc[Decimal128] lhs,
    xref:BloombergLP/bdldfp/Decimal128.adoc[Decimal128] rhs);
----

[.small]#xref:BloombergLP/bdldfp/operator_lt-0a2.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` has a value less than the specified `rhs` and `false` otherwise&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/bdldfp/operator_lt-03.adoc[operator&lt;](
    xref:BloombergLP/bdldfp/Decimal32.adoc[Decimal32] lhs,
    xref:BloombergLP/bdldfp/Decimal128.adoc[Decimal128] rhs);
----

[.small]#xref:BloombergLP/bdldfp/operator_lt-03.adoc[_» more&period;&period;&period;_]#

Return `true` if `lhs` is less than `rhs`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/bdldfp/operator_lt-0a6.adoc[operator&lt;](
    xref:BloombergLP/bdldfp/Decimal128.adoc[Decimal128] lhs,
    xref:BloombergLP/bdldfp/Decimal32.adoc[Decimal32] rhs);
----

[.small]#xref:BloombergLP/bdldfp/operator_lt-0a6.adoc[_» more&period;&period;&period;_]#

Return `true` if `lhs` is less than `rhs`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/bdldfp/operator_lt-02.adoc[operator&lt;](
    xref:BloombergLP/bdldfp/Decimal64.adoc[Decimal64] lhs,
    xref:BloombergLP/bdldfp/Decimal128.adoc[Decimal128] rhs);
----

[.small]#xref:BloombergLP/bdldfp/operator_lt-02.adoc[_» more&period;&period;&period;_]#

Return `true` if `lhs` is less than `rhs`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/bdldfp/operator_lt-09.adoc[operator&lt;](
    xref:BloombergLP/bdldfp/Decimal128.adoc[Decimal128] lhs,
    xref:BloombergLP/bdldfp/Decimal64.adoc[Decimal64] rhs);
----

[.small]#xref:BloombergLP/bdldfp/operator_lt-09.adoc[_» more&period;&period;&period;_]#

== Return Value

* `true` if the specified `lhs` has a value less than the specified `rhs` and `false` otherwise
* `true` if `lhs` is less than `rhs`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *lhs*
| left&hyphen;hand operand
| *rhs*
| right&hyphen;hand operand
|===


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