New type system
This commit is contained in:
@@ -36,7 +36,6 @@ implementation
|
||||
|
||||
uses
|
||||
System.SysUtils,
|
||||
System.Rtti,
|
||||
System.Math;
|
||||
|
||||
type
|
||||
@@ -50,7 +49,6 @@ type
|
||||
// IDataValue
|
||||
function GetDataType: IDataType;
|
||||
function GetAsString: string;
|
||||
function AsTValue: TValue;
|
||||
|
||||
// IDataDecimalValue
|
||||
function GetValue: Int64;
|
||||
@@ -115,11 +113,6 @@ begin
|
||||
FDataType := ADataType;
|
||||
end;
|
||||
|
||||
function TDataDecimalValue.AsTValue: TValue;
|
||||
begin
|
||||
Result := TValue.From<Int64>(FValue);
|
||||
end;
|
||||
|
||||
function TDataDecimalValue.GetAsString: string;
|
||||
var
|
||||
s: string;
|
||||
|
||||
Reference in New Issue
Block a user