Reference documentation and code samples for the Cloud Database Migration Service V1 API class Google::Cloud::CloudDMS::V1::RoundToScale.
This allows the data to change scale, for example if the source is 2 digits after the decimal point, specify round to scale value = 2. If for example the value needs to be converted to an integer, use round to scale value = 0.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#scale
def scale() -> ::Integer
Returns
- (::Integer) — Required. Scale value to be used
#scale=
def scale=(value) -> ::Integer
Parameter
- value (::Integer) — Required. Scale value to be used
Returns
- (::Integer) — Required. Scale value to be used