Quantcast
Channel: DataType question.
Browsing all 6 articles
Browse latest View live

DataType question.

Hi, I will suggest you to use Decimal(18,2) Data type...or u can use money data type for your calculation

View Article



DataType question.

Kevin,Your explanation helps and validates the ROUND function I had attempted.  This also will clarify some other confusion for other portions of the app and database which actually require that 0.90...

View Article

DataType question.

This is basically a rounding issue, and it's up to you to decide what is right or wrong.There are no 'correct' overriding rule that says how things always should be rounded.IIRC, SQL Server by default...

View Article

DataType question.

Thanks, jay.Well, I did end up with the result I needed by issuing the ROUND (expression, 1) which resulted in 58.00 in the output field.  Not sure if that is an appropriate way to handle this.So, this...

View Article

DataType question.

Generally the way that I have seen this done, is to force the rounding to the value needed, in this case by subtracting 0.005.  Also, you should change the NUMERIC to DECIMAL, NUMERIC is retained for...

View Article


DataType question.

I am not certain of what to set the field type to for 2 seperate fields that are used in a calculation.  The problem is that with the current setup, the result of the calculation is rounding UPWARDS,...

View Article
Browsing all 6 articles
Browse latest View live




Latest Images