Gets around VC++ compiler pickiness. (long != double)
PR:
This commit is contained in:
parent
3813046dc5
commit
7dce5a727a
@ -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 */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user