Grasshopper API
GH_ConvertToNextPowerOfTen Method |
Round a number upwards to the nearest power of ten.
Namespace: Grasshopper.Kernel
Assembly: Grasshopper (in Grasshopper.dll)

public static double ToNextPowerOfTen( double num )
Public Shared Function ToNextPowerOfTen ( num As Double ) As Double
Parameters
- num
- Type: SystemDouble
Number to round.
Return Value
Type: DoubleThe power of ten equal to or higher than num.
