Инструменты пользователя

Инструменты сайта


en:tcmediainfo:documentation:script_integer

Integer

Function return integer representation from other variants.

Integer(value)
valueSource value.

If source value is floating point number, it's integer path will be returned.

If source value is string, it's integer representation will be returned. If value can't be converted to, error will be raised. You can check string before converting with StrIsNumber function.

Remarks

For compatibility, function have Trunc alias.

en/tcmediainfo/documentation/script_integer.txt · Последнее изменение: 2019/08/19 22:09 — loopback

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki