xtd
0.2.0
Loading...
Searching...
No Matches
◆
is< decimal >()
template<>
bool
xtd::is
<
decimal
>
(
decimal
value
)
inline
Checks if the result of an expression is compatible with a given type.
Header
#include <xtd/is>
Namespace
xtd
Library
xtd.core
Examples
auto
main() ->
int
{
decimal
d
= 4.2;
std::cout <<
"d "
<<
is<decimal>
(
d
) ?
"is"
:
"isn't"
<<
" decimal"
<< endl;
}
xtd::decimal
long double decimal
Represents a decimal-precision floating-point number.
Definition
decimal.h:23
xtd::is< decimal >
bool is< decimal >(decimal value)
Checks if the result of an expression is compatible with a given type.
Definition
is.h:86
xtd::console_key::d
@ d
The D key.
xtd
Generated on Sat Sep 14 2024 21:25:16 for xtd by
Gammasoft
. All rights reserved.