Merge pull request #69498 from raulsntos/dotnet/float64

C#: Always convert float Variants to System.Double
This commit is contained in:
Ignacio Roldán Etcheverry 2022-12-02 20:46:44 +01:00 committed by GitHub
commit 6f1d4fd887
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 4 deletions

View File

@ -114,11 +114,7 @@ public partial struct Variant : IDisposable
{
Type.Bool => AsBool(),
Type.Int => AsInt64(),
#if REAL_T_IS_DOUBLE
Type.Float => AsDouble(),
#else
Type.Float => AsSingle(),
#endif
Type.String => AsString(),
Type.Vector2 => AsVector2(),
Type.Vector2i => AsVector2i(),