Commit Graph

4 Commits

Author SHA1 Message Date
Sean Harvey
c9f5e1ef58 ENHANCEMENT Added prepValueForDB() which is called on DBField->writeToManipulation which ensures formatting of value before insertion to DB on a per-DBField type basis.
ENHANCEMENT Added DBFieldTest to test prepValueForDB()

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62267 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-11 06:22:33 +00:00
Ingo Schommer
60860cc1b9 MINOR Unified @package PHPdoc (added where missing, removed duplicates)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@56212 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-06-15 13:33:53 +00:00
Sam Minnee
bd473aa749 Fixed currency's support for scientific notatio
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@51164 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-03-17 03:03:43 +00:00
Sam Minnee
397bb5fcc2 #2323: Fix casting of negative currency values; add CurrencyTest unit testing
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@51145 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-03-17 02:10:23 +00:00