Skip to content

Commit ca61bfb

Browse files
author
Drak
committed
Merge pull request #11 from endelwar/master
Increasing Geographical behaviour precision to 8 decimal
2 parents 0ab4799 + bb6988d commit ca61bfb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Doctrine/Template/Geographical.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ class Doctrine_Template_Geographical extends Doctrine_Template
4040
* @var string
4141
*/
4242
protected $_options = array('latitude' => array('name' => 'latitude',
43-
'type' => 'double',
43+
'type' => 'double(18,8)',
4444
'size' => null,
4545
'options' => array()),
4646
'longitude' => array('name' => 'longitude',
47-
'type' => 'double',
47+
'type' => 'double(18,8)',
4848
'size' => null,
4949
'options' => array()));
5050

0 commit comments

Comments
 (0)