Jump to content

decimals


user4fun

Recommended Posts

to round you can use the round function, see the php manualhttp://us2.php.net/manual/en/function.round.phpyou'll need something like: round($answer1,2);if u want to remove the quotations simply you have to concatenate the string and in php the concatenation is as follows:echo "hi ". $name. ", how r u?";so u need to close the quotations then add dots before and after the string

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...