Google Cloud Dms V1 Client - Class RoundToScale (1.4.2)

Reference documentation and code samples for the Google Cloud Dms V1 Client 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.

Generated from protobuf message google.cloud.clouddms.v1.RoundToScale

Namespace

Google \ Cloud \ CloudDms \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ scale int

Required. Scale value to be used

getScale

Required. Scale value to be used

Returns
TypeDescription
int

setScale

Required. Scale value to be used

Parameter
NameDescription
var int
Returns
TypeDescription
$this