2004-05-03 14:55:02 +00:00
|
|
|
<?xml version='1.0' encoding='iso-8859-1'?>
|
2007-12-13 17:49:45 +00:00
|
|
|
<!-- $Revision: 1.3 $ -->
|
2004-05-03 14:55:02 +00:00
|
|
|
<!-- Generated by xml_proto.php v2.0. Found in /scripts directory of phpdoc. -->
|
2007-06-20 22:25:43 +00:00
|
|
|
<refentry xml:id="function.variant-int" xmlns="http://docbook.org/ns/docbook">
|
2004-05-03 14:55:02 +00:00
|
|
|
<refnamediv>
|
|
|
|
<refname>variant_int</refname>
|
|
|
|
<refpurpose>
|
|
|
|
Returns the integer portion of a variant
|
|
|
|
</refpurpose>
|
|
|
|
</refnamediv>
|
|
|
|
<refsect1>
|
|
|
|
<title>Description</title>
|
|
|
|
<methodsynopsis>
|
|
|
|
<type>mixed</type><methodname>variant_int</methodname>
|
|
|
|
<methodparam><type>mixed</type><parameter>variant</parameter></methodparam>
|
|
|
|
</methodsynopsis>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
If <parameter>variant</parameter> 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
|
|
|
|
<parameter>variant</parameter>.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
See also <function>variant_fix</function>,
|
|
|
|
<function>variant_round</function>, <function>floor</function>,
|
|
|
|
<function>ceil</function>,
|
|
|
|
<function>round</function>.
|
|
|
|
</para>
|
|
|
|
|
2007-12-13 17:49:45 +00:00
|
|
|
&com.variant-arith;
|
2004-05-03 14:55:02 +00:00
|
|
|
|
|
|
|
</refsect1>
|
|
|
|
</refentry>
|
|
|
|
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
|
|
Local variables:
|
|
|
|
mode: sgml
|
|
|
|
sgml-omittag:t
|
|
|
|
sgml-shorttag:t
|
|
|
|
sgml-minimize-attributes:nil
|
|
|
|
sgml-always-quote-attributes:t
|
|
|
|
sgml-indent-step:1
|
|
|
|
sgml-indent-data:t
|
|
|
|
indent-tabs-mode:nil
|
|
|
|
sgml-parent-document:nil
|
|
|
|
sgml-default-dtd-file:"../../../../manual.ced"
|
|
|
|
sgml-exposed-tags:nil
|
|
|
|
sgml-local-catalogs:nil
|
|
|
|
sgml-local-ecat-files:nil
|
|
|
|
End:
|
|
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
|
|
vim: et tw=78 syn=sgml
|
|
|
|
vi: ts=1 sw=1
|
|
|
|
-->
|