Главная страница


ru.linux

 
 - RU.LINUX ---------------------------------------------------------------------
 From : Alexander Dilevsky                   2:5020/400     26 May 2002  13:55:55
 To : Igor S.Kozhukhov
 Subject : Re: php
 -------------------------------------------------------------------------------- 
 
 "Igor S.Kozhukhov" <Igor.S.Kozhukhov@p99.f42.n5045.z2.fidonet.org> wrote in
 message news:1021857201@p99.f42.n5045.z2.ftn...
 
 >                             Hello All!
 >
 >    как преодразовать текст в число - в Си была вункция atoi() - как быть с
 
 PHP
 
 > - не могу найти ...
 
 А зачем? php - язык без строгой типизации, при необходимости само
 сконвертируется.
 
 Hо если очень хочется, то:
 
 To explicitly convert a value to integer, use either the (int) or the
 (integer) cast. However, in most cases you do not need to use the cast,
 since a value will be autmatically converted if an operator, function or
 control structure requires a integer-argument.
 
 >
 >    With best wishes,
 >                     Igor
 >
 > ... E-mail: sirius@dexp.ru
 --
  Alexander Dilevsky
  dil@cea.ru
 --- ifmail v.2.15dev5
  * Origin: Yandex Technologies Ltd. (2:5020/400)
 
 

Вернуться к списку тем, сортированных по: возрастание даты  уменьшение даты  тема  автор 

 Тема:    Автор:    Дата:  
 php   Igor S.Kozhukhov   20 May 2002 01:12:20 
 Re: php   Alexander Dilevsky   26 May 2002 13:55:55 
 Re: php   Igor S.Kozhukhov   26 May 2002 22:02:06 
Архивное /ru.linux/10467fc62ee1e.html, оценка 1 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional