Click or drag to resize

MathfStepDecimals Method

Returns the position of the first non-zero digit, after the decimal point. Note that the maximum return value is 10, which is a design decision in the implementation.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static int StepDecimals(
	float step
)

Parameters

step
Type: SystemSingle
The input value.

Return Value

Type: Int32
The position of the first non-zero digit.
See Also