2.6.0 (latest) 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.2.0 1.1.0 1.0.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](https://learn.microsoft.com/dotnet/api/system.object) \> RoundToScale

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[RoundToScale](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.RoundToScale.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[RoundToScale](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.RoundToScale.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[RoundToScale](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.RoundToScale.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.CloudDms.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.md.txt)

## Assembly

Google.Cloud.CloudDms.V1.dll

## Constructors

### RoundToScale()

    public RoundToScale()

### RoundToScale(RoundToScale)

    public RoundToScale(RoundToScale other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `RoundToScale` |

## Properties

### Scale

    public int Scale { get; set; }

Required. Scale value to be used

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `int` |   |