To open any link in a new tab, preserving your position in the current article, just hold down the <CTRL> key on your keyboard before clicking the link or click using your mouse wheel.

Math Functions - RoundToNearest - FD

Math Functions - RoundToNearest

Rounds the given value down to the nearest value as defined by precision.

Declaration:

RoundToNearest(Val, Precision: Double): Double;

Source Code

Delphi

Scripting
Result := RoundToNearest(10.36, 0.05); // returns 10.35



Copyright 2023 ConstructConnect