mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-18 16:10:26 +02:00
Minlib fixes
This commit is contained in:
parent
470ce96bb9
commit
0a51049d65
2 changed files with 4 additions and 10 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue