blob: ef3eee1f32088ab3db4ec2a0b7ec2ffcc73fdecf (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
/* __ *\
** ________ ___ / / ___ Scala API **
** / __/ __// _ | / / / _ | (c) 2003-2005, LAMP/EPFL **
** __\ \/ /__/ __ |/ /__/ __ | **
** /____/\___/_/ |_/____/_/ | | **
** |/ **
\* */
package scala.dbc.datatype;
/** A type category for all SQL types that store numbers. */
abstract class Numeric[Type](_nativeTypeId: DataType.Id) extends DataType {
type NativeType = Type;
val nativeTypeId = _nativeTypeId;
/** The radix in which the precision (and scale when appliable) is defined.
* ISO-9075 only allows 2 and 10 for this value.
*/
def precisionRadix: Int;
/** The number of significant digits for that number. */
def precision: Int;
/** Whether the number is signed or not. */
def signed: scala.Boolean;
}
|