Q
Question on Rounding up to nearest value
Has anyone done round up of values to the nearest dollar.
For example I want to give a 10% of the price to my customers but if the
result is other than .00 then I wanted to round up to the nearest dollar
amount.
My calculation using sql has been price * percent and then subtract the
value from the price, then what do I need to do to roundit up??
Thanks for your suggestion.
Also I have a problem with my customers that I am extracting and the query
does return all the values from 2004 and 2006 that are equal except for the
price I have given them, how do I get only the latest ones in 2006 and not
the same customers name and addresses if they are duplicated 3 times??
Thanks so much for your reply, I know that someone else might have ask this
questions before.
For example I want to give a 10% of the price to my customers but if the
result is other than .00 then I wanted to round up to the nearest dollar
amount.
My calculation using sql has been price * percent and then subtract the
value from the price, then what do I need to do to roundit up??
Thanks for your suggestion.
Also I have a problem with my customers that I am extracting and the query
does return all the values from 2004 and 2006 that are equal except for the
price I have given them, how do I get only the latest ones in 2006 and not
the same customers name and addresses if they are duplicated 3 times??
Thanks so much for your reply, I know that someone else might have ask this
questions before.