FloatToInt16

Convert a float to a 16-bit signed integer.

Available in read and write scripts. Part of the virtual tag expression reference.

Converts a float to a 16-bit signed integer.

FloatToInt16(value: number): number;

Parameters

  • value — the float value.

Return value

The int16 value.