Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
        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);
        }