6 #include <libutl/Number.h> 75 return (_n == floor(_n));
82 return Float(fabs(_n));
#define UTL_CLASS_DEFID
Default init() and deInit() (which are merely place-holders).
String toString(const FwdIt &begin, const FwdIt &end, const String &sep, bool key=false)
Obtain a string representation of a sequence (via Object::toString()).
void serialize(bool &b, Stream &stream, uint_t io, uint_t mode=ser_default)
Serialize a boolean.
default representation (via getSerializeMode())
#define UTL_CLASS_DECL(DC, BC)
Declaration of standard UTL++ functionality for a non-template class.
Float abs() const
Get the absolute value of self.
unsigned int uint_t
Unsigned integer.
bool isInt() const
Determine whether the number is an integer (has no fractional component).
Root of UTL++ class hierarchy.
int compare(bool lhs, bool rhs)
Compare two boolean values.
Float(const String &str)
Constructor.