Logo Search packages:      
Sourcecode: icu version File versions  Download package

void Formattable::setDouble ( double  d  ) 

Sets the double value of this object and changes the type to kDouble.

d the new double value to be set. ICU 2.0

Definition at line 509 of file fmtable.cpp.

References dispose(), and kDouble.

Referenced by TimeUnitFormat::format(), DecimalFormat::parse(), ChoiceFormat::parse(), TimeUnitTest::testAPI(), IntlTestNumberFormat::tryIt(), and umsg_vformat().

    fType = kDouble;
    fValue.fDouble = d;

Generated by  Doxygen 1.6.0   Back to index