RE: [PHP] currency class?
| From: | Nathan Tobik | Date: | Mon, 08 Aug 2005 18:17:26 +0000 |
| Subject: | RE: [PHP] currency class? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-220240@lists.php.net to get a copy of this message | ||
Have you ever considered using the Java class within PHP using something
like the PHP-Java bridge? Here is a link for the bridge, PHP can call
the Java objects natively. It's pretty cool.
http://php-java-bridge.sourceforge.net/
I would use the bridge in a few situations:
1. The Java classes do a lot of under the hood things that are
to slow in PHP or PHP is unable to accomplish the task
2. The PHP class that does the same thing as the Java class is
unwritten and would require a lot of work to port it to PHP. If this
is the case and it might be easier/cheaper to just use the Java class
Nate Tobik
(412)661-5700 x206
VigilantMinds
-----Original Message-----
From: Jon Hill [mailto:jon@foneport.com]
Sent: Monday, August 08, 2005 11:22 AM
To: php-general@lists.php.net
Subject: [PHP] currency class?
Hi
Does anyone know of a simple PHP Currency Class that is similar to the
one in
Java (java.util.currency)?
I just need something that will provide methods such as
getSymbol() and getDefaultFractionDigits()
regards
Jon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php