Jump to content

Cost Value on Reports

Michael Sharp

Recommended Posts

I've asked internally to see if there's a better way for us to handle these cost fields, but to get you going, you can use the ROUND or TRUNCATE functions to convert the data to 2 decimal places:

	ROUND(h_cost, 2) AS cost
	TRUNCATE(h_cost, 2) AS cost

Round will round the number depending on if there's a value in the third decimal place. Truncate will literally cut it off after 2 decimal places.

Hope that helps.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...