Database Migration v1 API - Class RoundToScale (2.2.0)

public sealed class RoundToScale : IMessage<RoundToScale>, IEquatable<RoundToScale>, IDeepCloneable<RoundToScale>, IBufferMessage, IMessage

Reference documentation and code samples for the Database Migration v1 API class 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.

Inheritance

object > RoundToScale

Namespace

Google.Cloud.CloudDms.V1

Assembly

Google.Cloud.CloudDms.V1.dll

Constructors

RoundToScale()

public RoundToScale()

RoundToScale(RoundToScale)

public RoundToScale(RoundToScale other)
Parameter
NameDescription
otherRoundToScale

Properties

Scale

public int Scale { get; set; }

Required. Scale value to be used

Property Value
TypeDescription
int