function INT() in php???

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
lukilukg4
Forum Newbie
Posts: 12
Joined: Wed Jul 23, 2008 2:51 pm

function INT() in php???

Post by lukilukg4 »

hi,

i am new in php, i have to finish a code and I have to use the int function (from excel)


The INT function returns the integer component of a number by removing (truncating) any decimal part of number

e.g. int (1,89)-----> 1

thanks for your help...
Last edited by lukilukg4 on Thu Jul 24, 2008 3:54 am, edited 1 time in total.
User avatar
VladSun
DevNet Master
Posts: 4313
Joined: Wed Jun 27, 2007 9:44 am
Location: Sofia, Bulgaria

Re: function INT() in php???

Post by VladSun »

There are 10 types of people in this world, those who understand binary and those who don't
lukilukg4
Forum Newbie
Posts: 12
Joined: Wed Jul 23, 2008 2:51 pm

Re: function INT() in php???

Post by lukilukg4 »

tnx mate....
Post Reply