xtd 0.2.0

◆ as< double >() [3/42]

template<>
double xtd::as< double > ( xtd::byte  value)
inline

Casts a type into another type.

Parameters
valueobject to convert.
Returns
A new double object converted from value.
Header
#include <xtd/as>
Namespace
xtd
Library
xtd.core
Examples
xtd::byte value = 42;
double result = as<double>(value);
uint8_t byte
Represents a 8-bit unsigned integer.
Definition byte.h:23
double as< double >(std::any value)
Casts a type into another type.
Definition __as_double.h:36