JavaScript parseInt() Function | Tutorial Video | Easy learn

Опубликовано: 23 Ноябрь 2016
на канале: soft tutorial zone
4,024
5

JavaScript parseInt() Function | Tutorial Video | Easy learn

The parseInt() function parses a string and returns an integer.

The radix parameter is used to specify which numeral system to be used, for example, a radix of 16 (hexadecimal) indicates that the number in the string should be parsed from a hexadecimal number to a decimal number.

If the radix parameter is omitted, JavaScript assumes the following:

If the string begins with "0x", the radix is 16 (hexadecimal)
If the string begins with "0", the radix is 8 (octal). This feature is deprecated
If the string begins with any other value, the radix is 10 (decimal)

https://softtutorialzone.blogspot.in

  / softtutorialzone  


Смотрите видео JavaScript parseInt() Function | Tutorial Video | Easy learn онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь soft tutorial zone 23 Ноябрь 2016, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 4,02 раз и оно понравилось людям.