namespace icu4x { /** *Seethe[Rustdocumentationfor`Decimal`](https://docs.rs/fixed_decimal/0.7.0/fixed_decimal/type.Decimal.html) for more information.
*/ class Decimal {
public:
/** *Constructan{@linkDecimal}fromaninteger. * *Seethe[Rustdocumentationfor`Decimal`](https://docs.rs/fixed_decimal/0.7.0/fixed_decimal/type.Decimal.html) for more information.
*/ inlinestatic std::unique_ptr<icu4x::Decimal> from(int32_t v);
/** *Constructan{@linkDecimal}fromaninteger. * *Seethe[Rustdocumentationfor`Decimal`](https://docs.rs/fixed_decimal/0.7.0/fixed_decimal/type.Decimal.html) for more information.
*/ inlinestatic std::unique_ptr<icu4x::Decimal> from(uint32_t v);
/** *Constructan{@linkDecimal}fromaninteger. * *Seethe[Rustdocumentationfor`Decimal`](https://docs.rs/fixed_decimal/0.7.0/fixed_decimal/type.Decimal.html) for more information.
*/ inlinestatic std::unique_ptr<icu4x::Decimal> from(int64_t v);
/** *Constructan{@linkDecimal}fromaninteger. * *Seethe[Rustdocumentationfor`Decimal`](https://docs.rs/fixed_decimal/0.7.0/fixed_decimal/type.Decimal.html) for more information.
*/ inlinestatic std::unique_ptr<icu4x::Decimal> from(uint64_t v);
/** *Constructan{@linkDecimal}fromaninteger-valuedfloat * *Seethe[Rustdocumentationfor`try_from_f64`](https://docs.rs/fixed_decimal/0.7.0/fixed_decimal/type.Decimal.html#method.try_from_f64) for more information. * *Seethe[Rustdocumentationfor`FloatPrecision`](https://docs.rs/fixed_decimal/0.7.0/fixed_decimal/enum.FloatPrecision.html) for more information.
*/ inlinestatic icu4x::diplomat::result<std::unique_ptr<icu4x::Decimal>, icu4x::DecimalLimitError> from_double_with_integer_precision(double f);
/** *Constructan{@linkDecimal}fromanfloat,withagivenpowerof10forthelowermagnitude * *Seethe[Rustdocumentationfor`try_from_f64`](https://docs.rs/fixed_decimal/0.7.0/fixed_decimal/type.Decimal.html#method.try_from_f64) for more information. * *Seethe[Rustdocumentationfor`FloatPrecision`](https://docs.rs/fixed_decimal/0.7.0/fixed_decimal/enum.FloatPrecision.html) for more information.
*/ inlinestatic icu4x::diplomat::result<std::unique_ptr<icu4x::Decimal>, icu4x::DecimalLimitError> from_double_with_lower_magnitude(double f, int16_t magnitude);
/** *Constructan{@linkDecimal}fromanfloat,foragivennumberofsignificantdigits * *Seethe[Rustdocumentationfor`try_from_f64`](https://docs.rs/fixed_decimal/0.7.0/fixed_decimal/type.Decimal.html#method.try_from_f64) for more information. * *Seethe[Rustdocumentationfor`FloatPrecision`](https://docs.rs/fixed_decimal/0.7.0/fixed_decimal/enum.FloatPrecision.html) for more information.
*/ inlinestatic icu4x::diplomat::result<std::unique_ptr<icu4x::Decimal>, icu4x::DecimalLimitError> from_double_with_significant_digits(double f, uint8_t digits);
/** *Constructan{@linkDecimal}fromanfloat,withenoughdigitstorecover *theoriginalfloatingpointinIEEE754withoutneedingtrailingzeros * *Seethe[Rustdocumentationfor`try_from_f64`](https://docs.rs/fixed_decimal/0.7.0/fixed_decimal/type.Decimal.html#method.try_from_f64) for more information. * *Seethe[Rustdocumentationfor`FloatPrecision`](https://docs.rs/fixed_decimal/0.7.0/fixed_decimal/enum.FloatPrecision.html) for more information.
*/ inlinestatic icu4x::diplomat::result<std::unique_ptr<icu4x::Decimal>, icu4x::DecimalLimitError> from_double_with_round_trip_precision(double f);
/** *Constructan{@linkDecimal}fromastring. * *Seethe[Rustdocumentationfor`try_from_str`](https://docs.rs/fixed_decimal/0.7.0/fixed_decimal/type.Decimal.html#method.try_from_str) for more information.
*/ inlinestatic icu4x::diplomat::result<std::unique_ptr<icu4x::Decimal>, icu4x::DecimalParseError> from_string(std::string_view v);
/** *Seethe[Rustdocumentationfor`digit_at`](https://docs.rs/fixed_decimal/0.7.0/fixed_decimal/type.Decimal.html#method.digit_at) for more information.
*/ inline uint8_t digit_at(int16_t magnitude) const;
/** *Seethe[Rustdocumentationfor`magnitude_range`](https://docs.rs/fixed_decimal/0.7.0/fixed_decimal/type.Decimal.html#method.magnitude_range) for more information.
*/ inline int16_t magnitude_start() const;
/** *Seethe[Rustdocumentationfor`magnitude_range`](https://docs.rs/fixed_decimal/0.7.0/fixed_decimal/type.Decimal.html#method.magnitude_range) for more information.
*/ inline int16_t magnitude_end() const;
/** *Seethe[Rustdocumentationfor`nonzero_magnitude_start`](https://docs.rs/fixed_decimal/0.7.0/fixed_decimal/type.Decimal.html#method.nonzero_magnitude_start) for more information.
*/ inline int16_t nonzero_magnitude_start() const;
/** *Seethe[Rustdocumentationfor`nonzero_magnitude_end`](https://docs.rs/fixed_decimal/0.7.0/fixed_decimal/type.Decimal.html#method.nonzero_magnitude_end) for more information.
*/ inline int16_t nonzero_magnitude_end() const;
/** *Seethe[Rustdocumentationfor`is_zero`](https://docs.rs/fixed_decimal/0.7.0/fixed_decimal/type.Decimal.html#method.is_zero) for more information.
*/ inlinebool is_zero() const;
/** *Multiplythe{@linkDecimal}byagivenpoweroften. * *Seethe[Rustdocumentationfor`multiply_pow10`](https://docs.rs/fixed_decimal/0.7.0/fixed_decimal/type.Decimal.html#method.multiply_pow10) for more information.
*/ inlinevoid multiply_pow10(int16_t power);
/** *Seethe[Rustdocumentationfor`sign`](https://docs.rs/fixed_decimal/0.7.0/fixed_decimal/type.Decimal.html#method.sign) for more information.
*/ inline icu4x::DecimalSign sign() const;
/** *Setthesignofthe{@linkDecimal}. * *Seethe[Rustdocumentationfor`set_sign`](https://docs.rs/fixed_decimal/0.7.0/fixed_decimal/type.Decimal.html#method.set_sign) for more information.
*/ inlinevoid set_sign(icu4x::DecimalSign sign);
/** *Seethe[Rustdocumentationfor`apply_sign_display`](https://docs.rs/fixed_decimal/0.7.0/fixed_decimal/type.Decimal.html#method.apply_sign_display) for more information.
*/ inlinevoid apply_sign_display(icu4x::DecimalSignDisplay sign_display);
/** *Seethe[Rustdocumentationfor`trim_start`](https://docs.rs/fixed_decimal/0.7.0/fixed_decimal/type.Decimal.html#method.trim_start) for more information.
*/ inlinevoid trim_start();
/** *Seethe[Rustdocumentationfor`trim_end`](https://docs.rs/fixed_decimal/0.7.0/fixed_decimal/type.Decimal.html#method.trim_end) for more information.
*/ inlinevoid trim_end();
/** *Seethe[Rustdocumentationfor`trim_end_if_integer`](https://docs.rs/fixed_decimal/0.7.0/fixed_decimal/type.Decimal.html#method.trim_end_if_integer) for more information.
*/ inlinevoid trim_end_if_integer();
/** *Zero-padthe{@linkDecimal}onthelefttoaparticularposition * *Seethe[Rustdocumentationfor`pad_start`](https://docs.rs/fixed_decimal/0.7.0/fixed_decimal/type.Decimal.html#method.pad_start) for more information.
*/ inlinevoid pad_start(int16_t position);
/** *Zero-padthe{@linkDecimal}ontherighttoaparticularposition * *Seethe[Rustdocumentationfor`pad_end`](https://docs.rs/fixed_decimal/0.7.0/fixed_decimal/type.Decimal.html#method.pad_end) for more information.
*/ inlinevoid pad_end(int16_t position);
/** *Truncatethe{@linkDecimal}onthelefttoaparticularposition,deletingdigitsifnecessary.Thisisusefulfor,e.g.abbreviatingyears *("2022"->"22") * *Seethe[Rustdocumentationfor`set_max_position`](https://docs.rs/fixed_decimal/0.7.0/fixed_decimal/type.Decimal.html#method.set_max_position) for more information.
*/ inlinevoid set_max_position(int16_t position);
/** *Roundthenumberataparticulardigitposition. * *Thisuseshalftoevenrounding,whichresolvestiesbyselectingthenearest *evenintegertotheoriginalvalue. * *Seethe[Rustdocumentationfor`round`](https://docs.rs/fixed_decimal/0.7.0/fixed_decimal/type.Decimal.html#method.round) for more information.
*/ inlinevoid round(int16_t position);
/** *Seethe[Rustdocumentationfor`ceil`](https://docs.rs/fixed_decimal/0.7.0/fixed_decimal/type.Decimal.html#method.ceil) for more information.
*/ inlinevoid ceil(int16_t position);
/** *Seethe[Rustdocumentationfor`expand`](https://docs.rs/fixed_decimal/0.7.0/fixed_decimal/type.Decimal.html#method.expand) for more information.
*/ inlinevoid expand(int16_t position);
/** *Seethe[Rustdocumentationfor`floor`](https://docs.rs/fixed_decimal/0.7.0/fixed_decimal/type.Decimal.html#method.floor) for more information.
*/ inlinevoid floor(int16_t position);
/** *Seethe[Rustdocumentationfor`trunc`](https://docs.rs/fixed_decimal/0.7.0/fixed_decimal/type.Decimal.html#method.trunc) for more information.
*/ inlinevoid trunc(int16_t position);
/** *Seethe[Rustdocumentationfor`round_with_mode`](https://docs.rs/fixed_decimal/0.7.0/fixed_decimal/type.Decimal.html#method.round_with_mode) for more information.
*/ inlinevoid round_with_mode(int16_t position, icu4x::DecimalSignedRoundingMode mode);
/** *Seethe[Rustdocumentationfor`round_with_mode_and_increment`](https://docs.rs/fixed_decimal/0.7.0/fixed_decimal/type.Decimal.html#method.round_with_mode_and_increment) for more information.
*/ inlinevoid round_with_mode_and_increment(int16_t position, icu4x::DecimalSignedRoundingMode mode, icu4x::DecimalRoundingIncrement increment);
/** *Concatenates`other`totheendof`self`. * *Ifsuccessful,`other`willbesetto0andasuccessfulstatusisreturned. * *Ifnotsuccessful,`other`willbeunchangedandanerrorisreturned. * *Seethe[Rustdocumentationfor`concatenate_end`](https://docs.rs/fixed_decimal/0.7.0/fixed_decimal/type.Decimal.html#method.concatenate_end) for more information.
*/ inline icu4x::diplomat::result<std::monostate, std::monostate> concatenate_end(icu4x::Decimal& other);
/** *Formatthe{@linkDecimal}asastring. * *Seethe[Rustdocumentationfor`write_to`](https://docs.rs/fixed_decimal/0.7.0/fixed_decimal/type.Decimal.html#method.write_to) for more information.
*/ inline std::string to_string() const; template<typename W> inlinevoid to_string_write(W& writeable_output) const;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.