1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-18 16:10:26 +02:00

Minlib fixes

This commit is contained in:
Brian Fiete 2022-05-24 11:35:02 -07:00
parent 470ce96bb9
commit 0a51049d65
2 changed files with 4 additions and 10 deletions

View file

@ -366,13 +366,13 @@ namespace System
[CallingConvention(.Stdcall), CLink]
static extern int32 ftoa(float val, char8* str);
static extern int32 ToString(float val, char8* str);
static extern int32 ToString(float val, char8* str, bool roundTrip);
public override void ToString(String strBuffer)
{
char8[128] outBuff = ?;
//ftoa((float)this, &outBuff);
int len = ToString((float)this, &outBuff);
int len = ToString((float)this, &outBuff, false);
strBuffer.Append(&outBuff, len);
}
}