Google Cloud Dms V1 Client - Class RoundToScale (2.0.3)

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
Name Description
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
Type Description
int

setScale

Required. Scale value to be used

Parameter
Name Description
var int
Returns
Type Description
$this