Reply to Re: translation from VB (int and val)

Your name:

Reply:


Posted by Sonnich on 12/18/65 11:50

And while I am at it:

Format - when I want 35 to be shown as 0035 ?

Is there a way to look for files. eg c:\here\*.pdf (as Dir in VB)?


Sonnich wrote:
> I am taking this from VB, but what are int and val in PHP?
>
> $i = Int(Val(substr($code, 3, 3)) / 100) * 100;
>
> In case you dont know VB
> Int - truncates the numner (i looked for trunc already)
> Val - string to number
>
> Sonnich
>
> PS: jep I have realised I can to the thing above simpler.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация