Class RoundingMode
java.lang.Object
com.azure.core.util.ExpandableStringEnum<RoundingMode>
com.azure.analytics.purview.datamap.models.RoundingMode
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
Rounding Mode.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final RoundingModeceiling.static final RoundingModedown.static final RoundingModefloor.static final RoundingModehalf down.static final RoundingModehalf even.static final RoundingModehalf up.static final RoundingModeunnecessary.static final RoundingModeup. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RoundingModefromString(String name) Creates or finds a RoundingMode from its string representation.static Collection<RoundingMode> values()Gets known RoundingMode values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
UP
up. -
DOWN
down. -
CEILING
ceiling. -
FLOOR
floor. -
HALF_UP
half up. -
HALF_DOWN
half down. -
HALF_EVEN
half even. -
UNNECESSARY
unnecessary.
-
-
Constructor Details
-
RoundingMode
Deprecated.Use thefromString(String)factory method.Creates a new instance of RoundingMode value.
-
-
Method Details
-
fromString
Creates or finds a RoundingMode from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding RoundingMode.
-
values
Gets known RoundingMode values.- Returns:
- known RoundingMode values.
-
fromString(String)factory method.