Hi,
Round function seems that works like this:

Round(0.14,1) // 0.1
Round(0.15,1) // 0.2
Round(0.16,1) // 0.2

Is there any way to configure (if possible) to work like this:

Round(0.14,1) // -> 0.1
Round(0.15,1) // -> 0.1
Round(0.16,1) // -> 0.2

That is, from 1 to 5 no change, from 6 to 0 plus 1.

Is it possible ?

Do I have to write my own round function ??


Thanks and regards,
José Luis Capel
PS: it is needed for an special case.
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to