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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eRoundToScale\u003c/code\u003e class in the Google Cloud Database Migration v1 API allows for adjusting the scale of data, such as changing the number of digits after the decimal point.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of \u003ccode\u003eRoundToScale\u003c/code\u003e is 2.5.0, with previous versions dating back to 1.0.0 available for reference.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRoundToScale\u003c/code\u003e class implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing functionality for message handling, equality comparison, deep cloning, and buffered message operations.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eScale\u003c/code\u003e property within \u003ccode\u003eRoundToScale\u003c/code\u003e is required and is an integer value that specifies the desired number of digits after the decimal point.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRoundToScale\u003c/code\u003e class has two constructor overloads, one default and one that takes an other \u003ccode\u003eRoundToScale\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"]]],[],null,[]]