Прочетете на английски Редактиране

Споделяне чрез


Single.Truncate(Single) Method

Definition

Truncates a value.

C#
public static float Truncate(float x);

Parameters

x
Single

The value to truncate.

Returns

The truncation of x.

Implements

Applies to

Продукт Версии
.NET 7, 8, 9, 10