Author Topic: Rounding Real Numbers  (Read 7234 times)

0 Members and 1 Guest are viewing this topic.

roy_043

  • Water Moccasin
  • Posts: 1876
  • BricsCAD 18
Re: Rounding Real Numbers
« Reply #15 on: July 04, 2017, 04:49:38 AM »
@paradonk: Is this correct?:
Code: [Select]
(round -1.9) => -1What is your rounding rule?

MeasureUp

  • Bull Frog
  • Posts: 441
Re: Rounding Real Numbers
« Reply #16 on: July 04, 2017, 08:07:52 PM »
Thanks to everyone's input.
When I look back to my thread I appreciate your ideas and one more thing have learnt is to setup/clarify the rules before writing.
I read the links you provided and VovKa gave more handy info by pointing to Wikipedia
https://en.wikipedia.org/wiki/Rounding#Round-to-even_method

BTW I am often here to read threads and have learnt a lot, even I keep silent in most of time.
To Mark: Big thanks for building up this wonderful place. I would like to say please keep this great forum if possible.