Hello, I’m now creating new egw application where I need to use “arbitrary precision number” datatype. How the correct syntax for tables_current.inc.php setup array should look like? I’m thinking about: ‘weight’ => array(‘type’ => ‘int’,‘precision’ => ‘8,4’,‘default’ => ‘0’) or something similar. Thank you very much in advance. z.
I found the answer by searching code:
‘weight’ => array(‘type’ => ‘decimal’,‘precision’ => ‘8’,‘scale’=>‘4’,‘default’ => ‘0’)
decimal/scale pair is translated to postgres numeric(x,y) datatype corectly