mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-15 06:44:10 +02:00
Fixed rounding
This commit is contained in:
parent
3a332a0bcf
commit
d79a7b76b4
1 changed files with 4 additions and 2 deletions
|
@ -69,6 +69,7 @@ namespace System
|
||||||
curValue = Round(curValue);
|
curValue = Round(curValue);
|
||||||
}
|
}
|
||||||
curValue /= power10;
|
curValue /= power10;
|
||||||
|
return curValue;
|
||||||
}
|
}
|
||||||
return value;
|
return value;
|
||||||
}
|
}
|
||||||
|
@ -94,6 +95,7 @@ namespace System
|
||||||
curValue = Round(curValue);
|
curValue = Round(curValue);
|
||||||
}
|
}
|
||||||
curValue /= power10;
|
curValue /= power10;
|
||||||
|
return curValue;
|
||||||
}
|
}
|
||||||
return value;
|
return value;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue