Gets around VC++ compiler pickiness. (long != double)

PR:
This commit is contained in:
Geoff Thorpe 2000-02-25 14:50:37 +00:00
parent 3813046dc5
commit 7dce5a727a

View File

@ -618,7 +618,7 @@ fmtfp(
if (fracpart >= pow10(max)) { if (fracpart >= pow10(max)) {
intpart++; intpart++;
fracpart -= pow10(max); fracpart -= (long)pow10(max);
} }
/* convert integer part */ /* convert integer part */