男女疯狂一边摸一边做羞羞视频|啊好深好硬快点用力别停动态图|亚洲一区无码中文字幕|特级无码毛片免费视频播放▽|久久狠狠躁免费观看|国内精品久久久久久网站

variant_fix

(PHP 5, PHP 7, PHP 8)

variant_fixReturns the integer portion of a variant

說(shuō)明

variant_fix(mixed $value): variant

Gets the integer portion of a variant.

參數

value

The variant.

注意:

對于所有變量運算函數,本函數的參數可以是 PHP 內置的類(lèi)型(整數,字符串,浮點(diǎn)數,布爾型或者 null),或者是一個(gè) COM,VARIANT 或者 DOTNET 類(lèi)的實(shí)例。PHP 內置類(lèi)型將會(huì )使用和構造variant類(lèi)相同的規則轉換成變量。COM 和 DOTNET 對象的值將會(huì )取其默認屬性并被當成變量值使用。

變量運算函數是同名函數在 COM 庫中的外包;有關(guān)此類(lèi)函數的更多信息參見(jiàn) MSDN 庫。PHP 函數命名有少許區別,例如 PHP 中的 variant_add() 對應于 MSDN 文檔中的 VarAdd()。

返回值

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.

錯誤/異常

Throws a com_exception on failure.

注釋

警告

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.

參見(jiàn)

  • variant_int() - Returns the integer portion of a variant
  • variant_round() - Rounds a variant to the specified number of decimal places
  • floor() - 舍去法取整
  • ceil() - 進(jìn)一法取整
  • round() - 對浮點(diǎn)數進(jìn)行四舍五入

男女疯狂一边摸一边做羞羞视频|啊好深好硬快点用力别停动态图|亚洲一区无码中文字幕|特级无码毛片免费视频播放▽|久久狠狠躁免费观看|国内精品久久久久久网站