summaryrefslogtreecommitdiffstats
path: root/intl/icu_capi/cpp/include/ICU4XRoundingIncrement.hpp
blob: be93aa0401c8b6d69e4bdbbfbac092430addbffe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#ifndef ICU4XRoundingIncrement_HPP
#define ICU4XRoundingIncrement_HPP
#include <stdint.h>
#include <stddef.h>
#include <stdbool.h>
#include <algorithm>
#include <memory>
#include <variant>
#include <optional>
#include "diplomat_runtime.hpp"

#include "ICU4XRoundingIncrement.h"



/**
 * Increment used in a rounding operation.
 * 
 * See the [Rust documentation for `RoundingIncrement`](https://docs.rs/fixed_decimal/latest/fixed_decimal/enum.RoundingIncrement.html) for more information.
 */
enum struct ICU4XRoundingIncrement {
  MultiplesOf1 = 0,
  MultiplesOf2 = 1,
  MultiplesOf5 = 2,
  MultiplesOf25 = 3,
};

#endif