mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
MINOR Code formatting tidy up in Percentage
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@71301 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
12e0205bdd
commit
b3ffe8d4e2
@ -10,9 +10,7 @@ class Percentage extends Decimal {
|
||||
* Create a new Decimal field.
|
||||
*/
|
||||
function __construct($name, $precision = 4) {
|
||||
|
||||
if( !$precision )
|
||||
$precision = 4;
|
||||
if(!$precision) $precision = 4;
|
||||
|
||||
parent::__construct($name, $precision, $precision);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user