ソースを参照

GetFloat() and GetDouble() should probably return correct type.

Brucey 2 年 前
コミット
0ea2ee040c
1 ファイル変更2 行追加2 行削除
  1. 2 2
      reflection.mod/reflection.bmx

+ 2 - 2
reflection.mod/reflection.bmx

@@ -1494,7 +1494,7 @@ Type TConstant Extends TMember
 	Rem
 	bbdoc: Get constant value as @Float
 	EndRem
-	Method GetFloat:Int()
+	Method GetFloat:Float()
 		Return GetString().ToFloat()
 	EndMethod
 
@@ -1529,7 +1529,7 @@ Type TConstant Extends TMember
 	Rem
 	bbdoc: Get constant value as @Double
 	EndRem
-	Method GetDouble:Int()
+	Method GetDouble:Double()
 		Return GetString().ToDouble()
 	EndMethod