08-11-2022, 10:35 PM
what I did in one of my decnumber versions was to see if the digit after the last displayed digit was 5 or greater, if so then add 1
the details are tricky especially if the number is in floating point format
the details are tricky especially if the number is in floating point format