variant_fix

Returns the integer portion of a variant

&reftitle.description; `variant` `variant_fix` `mixed` `value`

Gets the integer portion of a variant.

&reftitle.parameters;

`value`

- The variant.

&com.variant-arith;
&reftitle.returnvalues;

If `value` is negative, then the first negative integer greater than or equal to the variant is returned, otherwise returns the integer portion of the value of `value`.

&reftitle.errors;

Throws a `com_exception` on failure.

&reftitle.notes;

This documentation is based on the MSDN documentation; it appears that this function is either the same as `variant_int`, or that there is an error in the MSDN documentation.

&reftitle.seealso;

- `variant_int`
- `variant_round`
- `floor`
- `ceil`
- `round`