소스 검색

rtl: removed currency alias

mattias 7 년 전
부모
커밋
a95188db36
1개의 변경된 파일2개의 추가작업 그리고 4개의 파일을 삭제
  1. 2 4
      packages/rtl/sysutils.pas

+ 2 - 4
packages/rtl/sysutils.pas

@@ -48,8 +48,6 @@ type
   TMonthNames = TMonthNameArray;
   TDayNames = array[0..6] of string;
 
-  Currency = Double;
-
 {*****************************************************************************
                             Exception handling
 *****************************************************************************}
@@ -250,8 +248,8 @@ function IntToHex(Value: NativeInt; Digits: integer): string;
   *****************************************************************************}
 
 const
-  MaxCurrency {: Currency } = 922337203685477.0000;
-  MinCurrency {: Currency } = -922337203685477.0000;
+  MaxCurrency: Currency =  450359962737.0495; // fpc: 922337203685477.5807;
+  MinCurrency: Currency = -450359962737.0496; // fpc: -922337203685477.5808;
 
 Type
   TFloatFormat = (ffFixed,ffGeneral,ffExponent,ffNumber,ffCurrency);