예제 #1
0
파일: mathutil.cpp 프로젝트: koz4k/soccer
String AsString(double x, int digits)
{
	if(IsNull(x)) return Null;
	if(fabs(x) >= 1e15)
		return FormatDoubleExp(x, tabs(digits), digits < 0 ? FD_ZEROS : 0);
	return FormatDoubleFix(x, tabs(digits), digits < 0 ? FD_ZEROS : 0);
}
예제 #2
0
void Tab6_Logarithmic::FormatX(String& s, int i, double d)
{
	s = FormatDoubleExp(pow(10., d), 1);
}
예제 #3
0
파일: tab6.cpp 프로젝트: ratsa02/upp-mirror
void Tab6::FormatX(String& s, int i, double d)
{
	s = FormatDoubleExp(pow(10., d), 1);
}