I have this formula in my code
Me!QuoteDetails Subform.Form![Quantity] = Round((Me.txtTo talTrunks / 2), 0)
if me.txtTotalTrun ks = 5, then the result i get is 2.
But the actual value is 2.5. I want to this number to be rounded to 3 and not 2.
That means if the result is a decimal number the quanitity should not decrease but increase for example:
if the result = 5.6 or 5.9 then quantiy should be 6
if the result = 5.1 or 5.2, then quantity should be 6 also.
Here are the properties:
[Quantity] = General Number, 0 decimal places
Me.txtTotalTrun ks = General Number, 0 decimal places
Please help.
Me!QuoteDetails Subform.Form![Quantity] = Round((Me.txtTo talTrunks / 2), 0)
if me.txtTotalTrun ks = 5, then the result i get is 2.
But the actual value is 2.5. I want to this number to be rounded to 3 and not 2.
That means if the result is a decimal number the quanitity should not decrease but increase for example:
if the result = 5.6 or 5.9 then quantiy should be 6
if the result = 5.1 or 5.2, then quantity should be 6 also.
Here are the properties:
[Quantity] = General Number, 0 decimal places
Me.txtTotalTrun ks = General Number, 0 decimal places
Please help.
Comment