ProjectTaskUtilSetPrecision(Single, 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 float SetPrecision(
float number,
int decimalPlaces
)
Public Shared Function SetPrecision (
number As Single,
decimalPlaces As Integer
) As Single
No code example is currently available or this language may not be supported.
- number Single
-
The number to be adjusted.
- decimalPlaces Int32
-
Number of decimal places precision to allow on the provided number.
Single
The provided number, limited to the specified precision.