ProjectTaskUtilSetPrecision(Double, Int32) Method
Set the decimal precision on the provided number and return the result.
Namespace: ProjectTaskAssembly: ProjectTask (in ProjectTask.dll) Version: 25.2814.3647
public static double SetPrecision(
double number,
int decimalPlaces
)
Public Shared Function SetPrecision (
number As Double,
decimalPlaces As Integer
) As Double
No code example is currently available or this language may not be supported.
- number Double
-
The number to be adjusted.
- decimalPlaces Int32
-
Number of decimal places precision to allow on the provided number.
Double
The provided number, limited to the specified precision.