fixv (var f): var

Returns the 'real' var value of a float stored in a var, f.i. through the floatv() instruction or as an element of a transformation matrix.

Parameters:

f - var containing a float value

Returns:

f converted to a 'real' var

Speed:

Fast

Example:

a = fixv(floatv(x)); // a == x

See also:

floatv, floatr, floatd

► latest version online