[phorm] [Phorm:] Re: Too many digits in calculation in config

  • From: webbbs@xxxxxxxxx
  • To: support@xxxxxxxxx
  • Date: 20 Jan 2003 13:06:52 -0000

The following new message has been posted on Phorm Support Forum at 
<http://www.phorm.com/support/>. 

*************************************************************************** 

  MESSAGE:  (#2110) Re: Too many digits in calculation in config 
            <http://www.phorm.com/support/?rev=2110> 
  AUTHOR:   Holotech 
  DATE:     January 20, 2003 at 8:06 a.m. EST 

  Reply To: (#2095) Too many digits in calculation in config 
  Author:   Rich 
  Date:     January 16, 2003 at 11:50 a.m. EST 

> 29.090909090909% 

> How can I get it to round off to 2 significant digits 
> to the right of the decimal, 

Use PHP's round() function: 

$Perc = round($Perc, 2); 

http://www.php.net/manual/en/function.round.php 

*************************************************************************** 

This is an automatically-generated notice.  If you'd like to be removed from 
the mailing list, please visit Phorm Support Forum at 
<http://www.phorm.com/support/>, or send your request to webbbs@xxxxxxxxxx  If 
you wish to respond to this message, please post your response directly to the 
board.  Thank you! 
-------------------------------------------------
You are receiving this message because you are subscribed to the Phorm mailing 
list. To send messages to the mailing list, simply send email to 
phorm@xxxxxxxxxxxxx from the address you have subscribed. You may unsubscribe 
from the list by sending email to phorm-request@xxxxxxxxxxxxx with 
'unsubscribe' in the SUBJECT field.

Other related posts:

  • » [phorm] [Phorm:] Re: Too many digits in calculation in config