Constructs a new RoundTask.
Optionalproperties: IRoundTaskProperties to set
The number of decimals to round to.
The rounding method to use.
Converts this RoundTask to JSON.
JSON object
StaticcreateCreates a new RoundTask instance using the specified properties.
Optionalproperties: IRoundTaskProperties to set
RoundTask instance
StaticdecodeStaticdecodeStaticencodeEncodes the specified RoundTask message. Does not implicitly {@apilink oracle_job.OracleJob.RoundTask.verify|verify} messages.
RoundTask message or plain object to encode
Optionalwriter: WriterWriter to encode to
Writer
StaticencodeEncodes the specified RoundTask message, length delimited. Does not implicitly {@apilink oracle_job.OracleJob.RoundTask.verify|verify} messages.
RoundTask message or plain object to encode
Optionalwriter: WriterWriter to encode to
Writer
StaticfromStaticgetGets the default type url for RoundTask
OptionaltypeUrlPrefix: stringyour custom typeUrlPrefix(default "type.googleapis.com")
The default type url
StatictoStaticverifyVerifies a RoundTask message.
Plain object to verify
null if valid, otherwise the reason why it is not
Round the current running result to a set number of decimal places.
Input: The current running numerical result.
Returns: The running result rounded to a set number of decimal places.
Example: Round down the running resul to 8 decimal places