24#include <VCardFloatValue.h>
26#include <VCardValue.h>
30FloatValue::FloatValue()
35FloatValue::FloatValue(
float f)
42FloatValue::FloatValue(
const FloatValue & x)
48FloatValue::FloatValue(
const TQCString & s)
54FloatValue::operator = (FloatValue & x)
56 if (*
this == x)
return *
this;
61 Value::operator = (x);
66FloatValue::operator = (
const TQCString & s)
68 Value::operator = (s);
73FloatValue::operator == (FloatValue & x)
76 return (value_ == x.value_);
79FloatValue::~FloatValue()
88 if (strRep_[0] ==
'-' || strRep_[1] ==
'+') {
90 if (strRep_[0] ==
'-')
96 value_ = strRep_.toFloat();
102FloatValue::_assemble()
104 strRep_ = TQCString().setNum(value_);
115FloatValue::setValue(
float f)