mirror of
https://github.com/microsoft/BCQuality.git
synced 2026-10-05 06:36:55 +01:00
Add read-only planning and repository-changing development skills so BCQuality knowledge can guide features, bug fixes, refactors, upgrades, and maintenance before the existing AL review gate runs. Track Microsoft Learn ingestion and add development and BCApps-shaped guidance evaluation fixtures. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 638b66d2-9f06-4f60-8781-808709e1485c
8 lines
270 B
AL
8 lines
270 B
AL
codeunit 50601 "Directed Rounding Bad"
|
|
{
|
|
procedure FloorAmount(Value: Decimal; Precision: Decimal): Decimal
|
|
begin
|
|
// For negative values, '<' rounds toward zero rather than toward negative infinity.
|
|
exit(Round(Value, Precision, '<'));
|
|
end;
|
|
}
|