The Math.truncate() function used to return the rounded value of the specified double and float value. Syntax: fun truncate(x : DataType): DataType Parameters: It can take data two data type such as Read more →
The Math.truncate() function used to return the rounded value of the specified double and float value. Syntax: fun truncate(x : DataType): DataType Parameters: It can take data two data type such as Read more →