Posted by Sonnich on 10/27/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.
Navigation:
[Reply to this message]
|