Calculation problem

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
Kain Elderan
Forum Newbie
Posts: 4
Joined: Thu Mar 16, 2006 8:00 am

Calculation problem

Post by Kain Elderan »

Hey all,

Just need a slight bit of help. Is it possible for me to do the following calculation.. and have it return only whole numbers?

Code: Select all

<?php echo ($ERMTotal * 1.35) ?>
I need this in whole numbers only, so it should round up. Any help would be appreciated.
User avatar
JayBird
Admin
Posts: 4524
Joined: Wed Aug 13, 2003 7:02 am
Location: York, UK
Contact:

Post by JayBird »

Post Reply