فهرست منبع

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