Req #67718 [NEW]: Currency type

From: Date: Wed, 30 Jul 2014 13:02:44 +0000
Subject: Req #67718 [NEW]: Currency type
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-186884@lists.php.net to get a copy of this message
From:             dorin dot marcoci at gmail dot com
Operating system: 
PHP version:      master-Git-2014-07-30 (Git)
Package:          *Programming Data Structures
Bug Type:         Feature/Change Request
Bug description:Currency type

Description:
------------
Implement new type "Currency" as many other languages have it.
It means fixed decimals (in most cases 4) and exact precision.
Or to be more flexible Decimal datatype with default/optional
precision.
Internally to store these values as bigints.

When operating with money values, floats suffers by definition and
bcmath is little annoying. Want to use calculations/operators in a
classical way.


-- 
Edit bug report at https://bugs.php.net/bug.php?id=67718&edit=1
-- 



Thread (5 messages)

« previous php.bugs (#186884) next »