xtd
0.2.0
Loading...
Searching...
No Matches
◆
round()
[2/4]
static
decimal
xtd::math::round
(
decimal
value
,
int32
decimals
)
static
Rounds a decimal value to a specified number of fractional digits.
Parameters
value
A double-precision floating-point number to be rounded.
decimals
The number of decimal places in the return value.
Returns
The number nearest to d that contains a number of fractional digits equal to decimals.
xtd
math
Generated on Sat Sep 14 2024 21:25:18 for xtd by
Gammasoft
. All rights reserved.