SecreC 2 language  2.8.0 (2023.09)
Language and standard library reference
Functions

Functions

int round (float32 x)
 
int round (float64 x)
 

Detailed Description

Function for rounding values.

Note
Supported types - float32 / float64
Parameters
x- input scalar of supported type
Returns
returns the rounded value of the input scalar

Function Documentation

◆ round() [1/2]

int round ( float32  x)

◆ round() [2/2]

int round ( float64  x)