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

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


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

Инструменты страницы