public static string NumberToString(double v) { cachedBuffer.Reset(); if (v < 0) { cachedBuffer.Append('-'); v = -v; } var numberToString = Dtoa(v, cachedBuffer); var toString = numberToString ? cachedBuffer.Format() : null; return(toString); }
public static string NumberToString(double v) { var buffer = new FastDtoaBuilder(); return(NumberToString(v, buffer) ? buffer.Format() : null); }
public static string NumberToString(Money v) { var buffer = new FastDtoaBuilder(); return(NumberToString(v, buffer) ? buffer.Format() : null); // FIXME }