Hello, while looking for solutions for rounding, i came up to this post.

So as Tomasz mentioned in his first post of the thread, the 3 functions can do any kind of rounding, just by properly using divide and multiply on those 3 functions as they are basically operating on the integer part of the number.

Q1. Any **DIRECT** function to do the rounding on the decimal part of a number?

Q2. In the AddCloumn function, the format parameter says "By default all variables are **displayed** with 2 decimal digits". If that's the case, then 1.2 & 1.5 should work the same as Prec(X,2) & Prec(X,5) respectively. But i noticed the format parameter to be working as **rounding** to the decimal value of the input. So a 1.2 format value for 125.1294 should return 125.12. Rather it is returning 125.13. Kindly someone shed some light.

Q3. Just to get my head around a peculiar problem am facing, i wrote a simple code to see what it returns.

`a=45239.451236587; ab = a*100; abc = int(ab); abcd = abc/100; Filter = 1; AddColumn(a,"a",1.9); AddColumn(ab,"ab",1.9); AddColumn(abc,"abc",1.9); AddColumn(abcd,"abcd",1.9);`

Except for the abc, the rest 3 columns are returning unexpected values.

a ab abc abcd

45239.453125000 4523945.500000000 4523945.000000000 45239.44922

am starting to wonder if i am losing it.

Please guide. Thank You.