Click or drag to resize

MathfDecimalCount Method (Single)

Returns the amount of digits after the decimal place.

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

Parameters

s
Type: SystemSingle
The input value.

Return Value

Type: Int32
The amount of digits.
See Also