public static void Write(float Value, char *Buffer, ref int BufferLength, int MinDecimalDigits, int MaxDecimalDigits, int GroupSize, string GroupSeparator) { float FracPart = NumberFormatHelper.Modf(Value, out int IntPart); Write(IntPart, Buffer, ref BufferLength, GroupSize, GroupSeparator); NumberFormatHelper.WriteFracPart(FracPart, Buffer, ref BufferLength, MinDecimalDigits, MaxDecimalDigits); }
public static void Write(float Value, char *Buffer, ref int BufferLength) { float FracPart = NumberFormatHelper.Modf(Value, out int IntPart); Write(IntPart, Buffer, ref BufferLength); NumberFormatHelper.WriteFracPart(FracPart, Buffer, ref BufferLength); }